public abstract static class Grid.CellController
extends java.lang.Object
null
.
null
.
grid.disableSort = true
.Constructor and Description |
---|
CellController() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getBackColor(int row,
int col)
Must return the background color for the given cell, or -1 if none.
|
abstract java.lang.String[] |
getChoices(int row,
int col)
Must return the choices for a given line and column, if setColumnChoices was set to this
column.
|
Font |
getFont(int row,
int col)
Must return the font to be used in this cell, or null to use the default control's font.
|
abstract int |
getForeColor(int row,
int col)
Must return the foreground color for the given cell, or -1 if none.
|
abstract boolean |
isEnabled(int row,
int col)
Must return if the given cell is enabled, ie, can have input and can be selected.
|
public abstract int getForeColor(int row, int col)
public abstract int getBackColor(int row, int col)
public abstract java.lang.String[] getChoices(int row, int col)
public abstract boolean isEnabled(int row, int col)
public Font getFont(int row, int col)