| Constructor |
| Cell |
Cell(Row parentRow, Integer pseudoRowNumber, Integer columnIndex,
Array CellDetails) - Create a Cell in the
parentRow. This object is created by the system. The developer must
NOT create objects of type Cell |
| |
| Variables |
| String |
align - represents the Alignment property
of the Cell.Accessor Methods: getAlignment()/setAlignment() |
| Reserved |
auxVariable - refers
to the auxillary variable of the control in the cell. Used Internally
|
| String |
backgroundColor - represents the backgroundColor
property of the Cell.Accessor Methods: getbackgroundColor()/setBackgroundColor() |
| Readonly ControlObject |
cellElement - refers to the internal control
object of the Cell. Accessor Methods : getCellElement() |
| Readonly |
columnType - refers to the cell type.
Accessor Methods : getColumnType() |
| String |
fontName - represents the fontName property
of the Cell.Accessor Methods: getFontName()/setFontName() |
| String |
fontSize - represents the fontSize property
of the Cell.Accessor Methods: getFontSize()/setFontSize() |
| String |
fontStyle - represents the fontStyle property
of the Cell.Accessor Methods: getForegroundColor()/setForegroundColor() |
| String |
foregroundColor - represents the foregroundColor
property of the Cell.Accessor Methods: getForegroundColor()/setForegroundColor() |
| Readonly |
icon - refers to the icon that is displayed
in the Cell. The icon is displayed in 16x16. Accessor Methods : getIcon() |
| Integer |
imageWidth - represents the width of the
image in a DG_IMAGE type cell. |
| Integer |
imageHeight - represents the height of
the image in a DG_IMAGE type cell. |
| Readonly |
name - refers to the name of the control
in the Cell. Accessor Methods : getName() |
| Reserved |
object - refers to the
internal representation of the Cell. Used Internally |
| Readonly |
parent - reference to the parent Row Object |
| Reserved |
radioLocked - Used Internally |
| Reserved |
textObj - hold the alternate
text object. Used Internally |
| Reserved |
variable - refers to
the variable name of the control in the cell. Used Internally |
| Readonly Boolean |
visible - refers to the visible property
of the Cell. Accessor Methods : isVisible() |
| [ Top
] |
| |
| Method Summary |
| String |
getAlignment()- gets the Alignment for
the grid. The default alignment is DG_LEFT |
| String |
getBackgroundColor()- gets the background
color of the grid. The Default value is DG_NOCOLOR |
| ControlObject |
getCellElement() - gets the control object
in the cell. |
| Column |
getColumn() - gets the Column associates
with this cell |
| Integer |
getColumnIndex() - gets the column number
of the cell |
| ColumnType |
getColumnType() - gets the column type
of this cell |
| String |
getFontName()- gets the FontName for the
grid. The default is verdana |
| String |
getFontSize()- gets the FontSize of the
grid. The default size is 10 |
| String |
getFontStyle()- gets the FontStyle of
the grid. The default style is DG_NONE |
| String |
getForegroundColor()- gets the foreground
color of the grid. |
| String |
getIcon() - gets the name of the icon
that will be displayed in the cell |
| Integer |
getImageHeight() - gets the display height
of the image in Cells of type DG_IMAGE |
| Integer |
getImageWidth() - gets the display width
of the image in Cells of type DG_IMAGE |
| String |
getName() - gets the name of the control |
| Reserved |
getObject() - Used Internally |
| DG_CELL |
getObjectID() - gets the Object
type. i.e. DG_CELL |
| Row |
getParent() - gets the parent Row object |
| Row |
getRow() - see getParent() |
| Integer |
getRowIndex() - gets the row index of
the row to which this cell belongs. |
| DeepGrid |
getTable() - returns the DeepGrid object
to which this cell belongs |
| String |
getText() - gets the text of the current
cell. if the Cell is of type DG_TEXTX, the visible text is returned
by getText() while getValue() gets the value. |
| String |
getValue() - gets the value of this cell |
| Reserved |
getVariable() - Used
Internally |
| Boolean |
isVisible() - gets the visible property
of the cell |
| void |
setAlignment(String Alignment)- sets the
Alignment for the grid. |
| void |
setBackgroundColor(String Color)- sets
the background color of the grid. Note:Use DG_NOCOLOR for transparency. |
| void |
setFocus() - sets the focus to the calling
cell |
| void |
setFont(String FontName, String FontStyle, Integer FontSize)-
sets the font properties of the grid. FontName is the name of the
font, FontStyle is the style of the font (DG_NONE, DG_PLAIN, DG_BOLD,
DG_ITALIC, DG_BOLDITALIC), FontSize is the size of the text. |
| void |
setFontName(String FontName)- sets the
FontName for the grid. |
| void |
setFontSize(Integer FontSize)- sets the
FontSize for the grid |
| void |
setFontStyle(String FontStyle)- sets the
FontStyle for the grid. The following are the predefined style constants
DG_NONE, DG_PLAIN, DG_BOLD, DG_ITALIC, DG_BOLDITALIC |
| void |
setForegroundColor(String Color)- sets
the foreground color of the grid. |
| void |
setIcon(String Image) - sets the icon
for display in each cell. |
| void |
setImageHeight(Integer height) - sets
the display height for the image where the cell type is DG_IMAGE |
| void |
setImageWidth(Integer width) - sets the
display width for the image where the cell type is DG_IMAGE |
| void |
setText(String CellText) - sets the text
specified by CellText to this cell. if the cell is of type DG_TEXTX,
this function will set the visible text while setValue(String CellValue)
will set the internal value |
| void |
setValue(String CellValue) - sets the
value specified by CellValue to the current cell |
| void |
setVisible(Boolean State) -
sets the visible property of the Cell |