public class CrossTabColorShema extends Object
| Modifier | Constructor and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(int numCols,
int numRows)
To be overwritten
|
static Color[][] |
createSchema(CrossTabColorShema ctColorScheme,
int length,
int length2) |
Color[][] |
getColors() |
void |
setColorForMeasure(Color col)
Color in the area reserved for the measures
|
void |
setColorForTotal(int row,
int column,
Color color)
Sets the color for the big total between the column and row
|
void |
setTotalColorForColumn(int column,
Color color)
Set the color for each total for the column
|
void |
setTotalColorForRow(int row,
Color color)
Sets the color for each total for the row
|
protected CrossTabColorShema()
public CrossTabColorShema(int rows,
int cols)
rows - cols - public CrossTabColorShema(DJCrosstab djcross)
djcross - public Color[][] getColors()
public void create(int numCols,
int numRows)
numCols - numRows - public void setTotalColorForColumn(int column,
Color color)
column - the number of the column (starting from 1)color - public void setTotalColorForRow(int row,
Color color)
row - (starting from 1)color - public void setColorForTotal(int row,
int column,
Color color)
row - row index (starting from 1)column - column index (starting from 1)color - public void setColorForMeasure(Color col)
col - public static Color[][] createSchema(CrossTabColorShema ctColorScheme, int length, int length2)
Copyright © 2006–2017 FDV Solutions. All rights reserved.