public static class GralTable.CellData
extends java.lang.Object
GralTable#tableLines
.
swt.Canvas |--*>swt.Text |--data-->CellData -ixCellLine -ixCellColumnNote: The class should be used only in the graphic implementation layer. It is public only to allow access from several implementations. It is not public to offer it for applications.
Modifier and Type | Field and Description |
---|---|
boolean |
bSetFocus
temporary set to true to set the focus of this cell.
|
GralColor |
colorBack
The color in the graphical presentation.
|
GralColor |
colorText
The color in the graphical presentation.
|
int |
ixCellColumn
The row and column in the graphical presentation.
|
int |
ixCellLine
The row and column in the graphical presentation.
|
int |
treeDepth
The currently tree depth of this cell.
|
Constructor and Description |
---|
CellData(int ixCellLine,
int ixCellColumn)
The widget for a cell is a GralTextField.
|
public final int ixCellLine
GralTable.TableLineData
can be found via the GralTable.linesForCell
.public final int ixCellColumn
GralTable.TableLineData
can be found via the GralTable.linesForCell
.public GralColor colorBack
GralTable.TableLineData.colorBackground
and GralTable.TableLineData.colorForeground
are different.
It saves some calculation time if the color of the text field is set only if it is necessary.public GralColor colorText
GralTable.TableLineData.colorBackground
and GralTable.TableLineData.colorForeground
are different.
It saves some calculation time if the color of the text field is set only if it is necessary.public boolean bSetFocus
public int treeDepth