| Constructor |
| DeepGrid |
DeepGrid(String GridName, [Integer Border], [Integer Width]) -
Create a Grid named GridName. border is the border size for the grid,
default is 0. Width is the width of the grid; the width can either
be a whole number or a percentage, default is 100% |
| |
| Variables |
| Reserved |
object - contains reference
to the actual table |
| String |
align - represents the Alignment property
of the Grid.Accessor Methods: getAlignment()/setAlignment() |
| Boolean |
altColor - Toggle switch for Alternative
Row Colors.Accessor Methods: isAltColor()/setAltColor() |
| Reserved |
arrName - Used Internally |
| String |
backgroundColor - represents the backgroundColor
property of the Grid.Accessor Methods: getbackgroundColor()/setBackgroundColor() |
| String |
backgroundImage - represents the backgroundImage
property of the Grid.Accessor Methods: getBackgroundImage()/setBackgroundImage() |
| Integer |
border - represents the border property
of the Grid.Accessor Methods: getBorder/setBorder |
| Readonly |
ColumnHeaders - The ColumnHeaders object
for this table. Accessor Method : getColumnHeaders() |
| Readonly |
columnheaders - refer ColumnHeaders |
| Readonly |
columnHeaders - refer ColumnHeaders |
| String |
evenColor - represents the color to be
used for even numbered rows if AltColor property is enabled.Accessor
Methods: getEvenColor()/setEvenColor() |
| Readonly |
FocusCol - Index of the Column that is
currently in focus. Accessor Method : getFocusColumn() |
| Reserved |
FocusObject - Object
that is in focus. Used Internally |
| Readonly |
FocusRow - Index of the Row that is currently
in focus. Accessor Method : getFocusRow() |
| String |
fontName - represents the fontName property
of the Grid.Accessor Methods: getFontName()/setFontName() |
| String |
fontSize - represents the fontSize property
of the Grid.Accessor Methods: getFontSize()/setFontSize() |
| String |
fontStyle - represents the fontStyle property
of the Grid.Accessor Methods: getForegroundColor()/setForegroundColor() |
| Readonly |
Footer - The Footer object for this table.
Accessor Method : getFooter() |
| Readonly |
footer - refer Footer |
| String |
foregroundColor - represents the foregroundColor
property of the Grid.Accessor Methods: getForegroundColor()/setForegroundColor() |
| Boolean |
gridLines - represents the gridLines property
of the Grid.Accessor Methods: hasGridLines()/showGridLines() |
| String |
oddColor - represents the color to be
used for odd numbered rows if AltColor property is enabled.Accessor
Methods: getOddColor()/setOddColor() |
| Readonly |
RowSet - The RowSet object for this table.
Accessor Method : getRowSet() |
| Readonly |
rowset - refer RowSet |
| Readonly |
Rowset - refer RowSet |
| Readonly |
rowSet - refer RowSet |
| Reserved |
keyCode - Used Internally |
| ReadOnly |
tableName - Name of the this DeepGrid
table |
| Boolean |
visible - represents the border property
of the Grid.Accessor Methods: isVisible()/setVisible() |
| String |
wallpaper- represents the wallpaper property
of the Grid.Accessor Methods: getWallpaper()/setWallpaper() |
| Integer |
width - represents the width property
of the Grid.Accessor Methods: getWidth()/setWidth() |
| [ 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 |
| String |
getBackgroundImage()- gets the backgroundImage
of the grid. If there is no backgroundImage "" (empty string) is returned |
| Integer |
getBorder()- Gets the border width |
| Cell |
getCell(Integer Row,Integer Column)- gets
the Cell in Row,Column position |
| Column |
getColumn(Integer ColumnIndex)- gets the
Column Object in position specified by ColumnIndex. |
| Integer |
getColumnCount()- gets the number of columns
in the grid. |
| ColumnHeaders |
getColumnHeaders()- gets the ColumnHeaders
Object associated with the grid |
| Integer |
getColumnNumber(ControlObject con) - Index
of the Column that contains the object con |
| String |
getEvenColor()- gets the color that is
to be used for even numbered rows is AltColor is enabled. The default
is DG_DEFAULT_EVEN |
| Integer |
getFocusColumn()- Returns the Column number
that currently has focus or was the last column in focus . Note: Returns
'null' if no column in the grid has received focus so far. |
| Reserved |
getFocusObject() - Used Internally |
| Integer |
getFocusRow()- Returns the Row number
that currently has focus or was the last row in focus. Note: Returns
'null' if no row in the grid has received focus so far. |
| 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 |
| Footer |
getFooter()- gets the Footer Object associated
with the grid |
| String |
getForegroundColor()- gets the foreground
color of the grid. |
| Boolean |
getGridLines()- gets the gridlines property
of the grid. |
| String |
getName()- Gets the name of the Grid |
| Reserved Object |
getObject()- Gets the
Internal table Object |
| DG_TABLE |
getObjectID() - Gets the Object type.
i.e. DG_TABLE |
| String |
getOddColor()- gets the color that is
to be used for odd numbered rows is AltColor is enabled. The default
is DG_DEFAULT_ODD |
| Reserved |
getPseudoColNum()- Used
Internally |
| Reserved |
getPseudoRowNum()- Used
Internally |
| Row |
getRow(Integer RowIndex)- gets the Row
Object in position specified by RowIndex. |
| Integer |
getRowCount()- gets the number of rows
in the grid. |
| Integer |
getRowNumber(ControlObject con) - Index
of the Row that contains the object con |
| RowSet |
getRowSet()- gets the RowSet Object associated
with the grid |
| String |
getWallpaper()- gets the wallpaper of
the grid. If there is no wallpaper "" (empty string) is returned |
| Integer |
getWidth()- Gets the width |
| Boolean |
hasGridLines()- refer getGridLines(). |
| Boolean |
isAltColor()- gets the AltColor property
of the grid. The default is false |
| Boolean |
isVisible()- gets the visibility of the
grid. |
| void |
setAlignment(String Alignment)- sets the
Alignment for the grid. |
| void |
setAltColor(Boolean State, [String OddColor], [String EvenColor])-
toggles the AltColor property of the grid. if OddColor is not provided
DG_DEFAULT_ODD is used. If EvenColor is not provided DG_DEFAULT_EVEN
is used |
| void |
setBackgroundColor(String Color)- sets
the background color of the grid. Note:Use DG_NOCOLOR for transparency. |
| void |
setBackgroundImage(String Image)- sets
the background image of the grid to the image specified by 'Image'.
The image will not be visible if the table has a background color.
Note: Using setBackgroundImage(String Image) sets the Image individually
to each column. For setting a single image for the whole grid see
setWallpaper(String Image). |
| void |
setBorder(Integer border)- sets the borderWidth |
| void |
setEvenColor(String Color)- sets the color
to be used for even numbered rows is Altcolor is enabled. use DG_NOCOLOR
for transparency |
| 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 |
setGridLines(Boolean State)- toggles the
gridlines in the grid. |
| void |
setOddColor(String Color)- sets the color
to be used for odd numbered rows is Altcolor is enabled. use DG_NOCOLOR
for transparency |
| void |
setVisible(Boolean State)- toggles the
Visibility of the Grid . |
| void |
setWallpaper(String Image)- sets the wallpaper
of the grid to the image specified by 'Image'. The wallpaper will
not be visible if the table has a background color. Note: Using Wallpaper(String
Image) sets the Image as a wallpaper for the grid rather than applying
it to each section of the table . |
| void |
setWidth(Integer width)- sets the width |
| void |
showGridLines(Boolean State)- refer setGridLines(Boolean
State). |