|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.fdvs.dj.core.layout.CrossTabColorShema
public class CrossTabColorShema
Constructor Summary | |
---|---|
protected |
CrossTabColorShema()
|
|
CrossTabColorShema(DJCrosstab djcross)
The DJCrosstab is used to get the number of columns and rows within it |
|
CrossTabColorShema(int rows,
int cols)
The number of rows and columns |
Method Summary | |
---|---|
void |
create(int numCols,
int numRows)
To be overwritten |
static java.awt.Color[][] |
createSchema(CrossTabColorShema ctColorScheme,
int length,
int length2)
|
java.awt.Color[][] |
getColors()
|
void |
setColorForMeasure(java.awt.Color col)
Color in the area reserved for the measures |
void |
setColorForTotal(int row,
int column,
java.awt.Color color)
Sets the color for the big total between the column and row |
void |
setTotalColorForColumn(int column,
java.awt.Color color)
Set the color for each total for the column |
void |
setTotalColorForRow(int row,
java.awt.Color color)
Sets the color for each total for the row |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CrossTabColorShema()
public CrossTabColorShema(int rows, int cols)
rows
- cols
- public CrossTabColorShema(DJCrosstab djcross)
djcross
- Method Detail |
---|
public java.awt.Color[][] getColors()
public void create(int numCols, int numRows)
numCols
- numRows
- public void setTotalColorForColumn(int column, java.awt.Color color)
column
- the number of the column (starting from 1)color
- public void setTotalColorForRow(int row, java.awt.Color color)
row
- (starting from 1)color
- public void setColorForTotal(int row, int column, java.awt.Color color)
row
- row index (starting from 1)column
- column index (starting from 1)color
- public void setColorForMeasure(java.awt.Color col)
col
- public static java.awt.Color[][] createSchema(CrossTabColorShema ctColorScheme, int length, int length2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |