All Packages Class Hierarchy This Package Previous Next Index
Class jclass.table.JCTableBean
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----jclass.table.Table
|
+----jclass.table.JCTable
|
+----jclass.table.JCTableBean
- public class JCTableBean
- extends JCTable
JCTableBean is a derived class intended to allow
JClass Table to integrate with Symantec Visual Cafe 1.0. It has two
main purposes:
- Moves all enums into the component class to work around
a limitation in Visual Cafe.
- Exposes non-trivial properties (ie those properties that
deal with individual cells). This is accomplished by
using the HTML string converters.
Below is a list of properties that are exposed in Visual Cafe.
Name Description
AlignmentSeries Alignment for individual cells.
AllowCellResize Determines if the user can resize cells.
About Vendor information.
BorderSidesSeries Visible border sides for individual cells.
BorderTypeSeries Border types for individual cells.
CellValues Contents for individual cells
ColorSeries Determines the background and foreground colors of individual cells and labels.
ColumnLabelOffset Offset between column labels and table.
ColumnLabelPlacement Location of the column labels.
ColumnLabelSort Determines if the user can sort by column.
ColumnLabels Column label values.
ComponentSeries AWT components in individual cells.
DataTypeSeries Data type for individual cells.
DimensionSeries Determines height and width of individual cells and labels.
DisplayClipArrows Determines whether text clip arrows are shown.
DoubleBuffer Determines whether double buffering is used.
EditableSeries Editable attribute for individual cells.
FontSeries Display font for individual cells.
FrameBorderType Border type for the frame around the table.
FrameShadowThickness Thickness of the frame around the table.
FrozenColumnPlacement Location of frozen columns.
FrozenColumns Number of frozen columns.
FrozenRowPlacement Location of frozen rows
FrozenRows Number of frozen rows.
JumpScroll Determines whether jump scrolling is in use.
LeftColumn Left-most column in table.
MarginHeight Height of the margin around each cell.
MarginWidth Width of the margin around each cell.
MaxLengthSeries Maximum content length for individual cells.
MultiLineSeries Allow multi lines attribute for individual cells.
HorizSBAttachment Attach point for horizontal scrollbar.
HorizSBPosition Position of horizontal scrollbar.
HorizSBOffset Offset between table and horizontal scrollbar.
HorizSBDisplay Determines whether to display horiz. scrollbar.
MinCellVisibility Minimum visible percentage of a cell.
Mode Determines table operation - table or list.
NumColumns Number of columns.
NumRows Number of rows.
RowLabelOffset Offset between row labels and table.
RowLabelPlacement Location of the row labels.
RowLabels Row label values.
SelectedBackground Background color for selected cells.
SelectedForeground Foreground color for selected cells.
SelectionPolicy Type of allowable selection.
ShadowThickness Thickness of shadow around each cell.
SpanningCells Span dimensions for individual cells.
StringCaseSeries String case (upper/lower/as-is) for cells.
TopRow Topmost row in the table.
TrackCursor Determines whether the cursor changes.
TraversableSeries Allows traversal of individual cells.
ValidatePolicy Validation policy for table.
Version Product version
VertSBAttachment Attach point for vertical scrollbar.
VertSBPosition Position of vertical scrollbar.
VertSBOffset Offset between table and vertical scrollbar.
VertSBDisplay Determines whether to display vertical scrollbar.
-
ALL
- Mirrored enum to accomodate VisualCafe
-
ALLCELLS
- Mirrored enum to accomodate VisualCafe
-
AS_IS
- Mirrored enum to accomodate VisualCafe
-
ATTACH_CELLS
- Mirrored enum to accomodate VisualCafe
-
ATTACH_SIDE
- Mirrored enum to accomodate VisualCafe
-
BORDER_ETCHED_IN
- Mirrored enum to accomodate VisualCafe
-
BORDER_ETCHED_OUT
- Mirrored enum to accomodate VisualCafe
-
BORDER_FRAME_IN
- Mirrored enum to accomodate VisualCafe
-
BORDER_FRAME_OUT
- Mirrored enum to accomodate VisualCafe
-
BORDER_IN
- Mirrored enum to accomodate VisualCafe
-
BORDER_NONE
- Mirrored enum to accomodate VisualCafe
-
BORDER_OUT
- Mirrored enum to accomodate VisualCafe
-
BORDER_PLAIN
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_ALL
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_BOTTOM
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_LEFT
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_NONE
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_RIGHT
- Mirrored enum to accomodate VisualCafe
-
BORDERSIDE_TOP
- Mirrored enum to accomodate VisualCafe
-
BOTTOMCENTER
- Mirrored enum to accomodate VisualCafe
-
BOTTOMLEFT
- Mirrored enum to accomodate VisualCafe
-
BOTTOMRIGHT
- Mirrored enum to accomodate VisualCafe
-
CASE_AS_IS
- Mirrored enum to accomodate VisualCafe
-
CASE_LOWER
- Mirrored enum to accomodate VisualCafe
-
CASE_UPPER
- Mirrored enum to accomodate VisualCafe
-
CENTER
- Mirrored enum to accomodate VisualCafe
-
JUMP_ALL
- Mirrored enum to accomodate VisualCafe
-
JUMP_HORIZONTAL
- Mirrored enum to accomodate VisualCafe
-
JUMP_NONE
- Mirrored enum to accomodate VisualCafe
-
JUMP_VERTICAL
- Mirrored enum to accomodate VisualCafe
-
LABEL
- Mirrored enum to accomodate VisualCafe
-
LEFT
- Mirrored enum to accomodate VisualCafe
-
MAXDIMENSION
- Mirrored enum to accomodate VisualCafe
-
MAXINT
- Mirrored enum to accomodate VisualCafe
-
MIDDLECENTER
- Mirrored enum to accomodate VisualCafe
-
MIDDLELEFT
- Mirrored enum to accomodate VisualCafe
-
MIDDLERIGHT
- Mirrored enum to accomodate VisualCafe
-
MODE_LIST
- Mirrored enum to accomodate VisualCafe
-
MODE_TABLE
- Mirrored enum to accomodate VisualCafe
-
NOTFOUND
- Mirrored enum to accomodate VisualCafe
-
NOVALUE
- Mirrored enum to accomodate VisualCafe
-
PLACE_BOTTOM
- Mirrored enum to accomodate VisualCafe
-
PLACE_LEFT
- Mirrored enum to accomodate VisualCafe
-
PLACE_RIGHT
- Mirrored enum to accomodate VisualCafe
-
PLACE_TOP
- Mirrored enum to accomodate VisualCafe
-
REMOVE
- Mirrored enum to accomodate VisualCafe
-
REPEAT_COLUMN
- Mirrored enum to accomodate VisualCafe
-
REPEAT_ROW
- Mirrored enum to accomodate VisualCafe
-
RESIZE_ALL
- Mirrored enum to accomodate VisualCafe
-
RESIZE_COLUMN
- Mirrored enum to accomodate VisualCafe
-
RESIZE_NONE
- Mirrored enum to accomodate VisualCafe
-
RESIZE_ROW
- Mirrored enum to accomodate VisualCafe
-
RIGHT
- Mirrored enum to accomodate VisualCafe
-
SB_SIZE
- Mirrored enum to accomodate VisualCafe
-
SBDISPLAY_ALWAYS
- Mirrored enum to accomodate VisualCafe
-
SBDISPLAY_AS_NEEDED
- Mirrored enum to accomodate VisualCafe
-
SBDISPLAY_NEVER
- Mirrored enum to accomodate VisualCafe
-
SBPOSITION_CELLS
- Mirrored enum to accomodate VisualCafe
-
SBPOSITION_SIDE
- Mirrored enum to accomodate VisualCafe
-
SELECT_MULTIRANGE
- Mirrored enum to accomodate VisualCafe
-
SELECT_NONE
- Mirrored enum to accomodate VisualCafe
-
SELECT_RANGE
- Mirrored enum to accomodate VisualCafe
-
SELECT_SINGLE
- Mirrored enum to accomodate VisualCafe
-
STYLE_BUTTON
- Mirrored enum to accomodate VisualCafe
-
STYLE_SORT
- Mirrored enum to accomodate VisualCafe
-
TOPCENTER
- Mirrored enum to accomodate VisualCafe
-
TOPLEFT
- Mirrored enum to accomodate VisualCafe
-
TOPRIGHT
- Mirrored enum to accomodate VisualCafe
-
TYPE_BOOLEAN
- Mirrored enum to accomodate VisualCafe
-
TYPE_DATE
- Mirrored enum to accomodate VisualCafe
-
TYPE_DOUBLE
- Mirrored enum to accomodate VisualCafe
-
TYPE_FLOAT
- Mirrored enum to accomodate VisualCafe
-
TYPE_INTEGER
- Mirrored enum to accomodate VisualCafe
-
TYPE_STRING
- Mirrored enum to accomodate VisualCafe
-
VALIDATE_ALWAYS
- Mirrored enum to accomodate VisualCafe
-
VALIDATE_NEVER
- Mirrored enum to accomodate VisualCafe
-
VALIDATE_SET
- Mirrored enum to accomodate VisualCafe
-
VALIDATE_USER_EDIT
- Mirrored enum to accomodate VisualCafe
-
VARIABLE
- Mirrored enum to accomodate VisualCafe
-
JCTableBean()
- Default constructor - creates an empty 10-row x 5-column table
-
findString(String)
- Finds the next cell which contains the specified string (case-insensitive).
-
fromSeries(int)
- Converts from a series to a string based on an enum value.
-
getAlignmentSeries()
- Gets the table which has the new AlignmentSeries value.
-
getBackgroundSeries()
- Gets the BackgroundSeries property.
-
getBorderSidesSeries()
- Gets the table which has the new BorderSidesSeries value.
-
getBorderTypeSeries()
- Gets the table which has the new BorderTypeSeries value.
-
getCellValues()
- Gets the CellValues property.
-
getCharHeightSeries()
- Gets the CharHeightSeries property.
-
getCharWidthSeries()
- Gets the CharWidthSeries property.
-
getColorSeries()
- Gets the ColorSeries property.
-
getColumnLabelsList()
- Gets the column labels as an array of Strings.
-
getComponentSeries()
- Gets the ComponentSeries property.
-
getDataTypeSeries()
- Gets the DataTypeSeries property.
-
getDimensionSeries()
- Gets the DimensionSeries property.
-
getEditableSeries()
- Gets the EditableSeries property.
-
getFontSeries()
- Gets the FontSeries property.
-
getForegroundSeries()
- Gets the ForegroundSeries property.
-
getMaxLengthSeries()
- Gets the MaxLengthSeries property.
-
getMultiLineSeries()
- Gets the MultiLineSeries property.
-
getPixelHeightSeries()
- Gets the PixelHeightSeries property.
-
getPixelWidthSeries()
- Gets the PixelWidthSeries property.
-
getRepeatBGColors()
- Gets the RepeatBGColors property.
-
getRepeatFGColors()
- Gets the RepeatFGCells property.
-
getRowLabelsList()
- Gets the row labels as an array of Strings.
-
getSpanningCells()
- Gets the SpanningCells property.
-
getStringCaseSeries()
- Gets the StringCaseSeries property.
-
getTraversableSeries()
- Gets the TraversableSeries property.
-
setAlignmentSeries(String)
- Specifies the alignment of elements in cells.
-
setAlignmentSeries(Table)
- Sets AlignmentSeries from the table which has the new AlignmentSeries value.
-
setBackgroundSeries(String)
- Specifies the background color of cells and labels.
-
setBorderSidesSeries(String)
- Specifies the sides of a cell or label that display the border type in
their border area.
-
setBorderSidesSeries(Table)
-
-
setBorderTypeSeries(String)
- Specifies the style used for cell and label borders.
-
setBorderTypeSeries(Table)
- Sets BorderTypeSeries from the table which has the new BorderTypeSeries value.
-
setCellValues(String)
- Specifies the contents of cells.
-
setCellValues(Table)
- Sets the CellValues property.
-
setCharHeightSeries(String)
- Specifies the number of lines of text a row can display.
-
setCharWidthSeries(String)
- Specifies the number of characters that a column can display.
-
setColorSeries(String[])
- Sets the ColorSeries property.
-
setColorSeries(Table)
- Sets the ColorSeries property.
-
setColumnLabelsList(String[])
- Sets the column labels as an array of Strings.
-
setComponentSeries(String)
- Specifies a component to be used in a cell or series of cells.
-
setComponentSeries(Table)
- Sets the ComponentSeries property.
-
setDataTypeSeries(String)
- Specifies a list of data types.
-
setDataTypeSeries(Table)
- Sets the DataTypeSeries property.
-
setDimensionSeries(String[])
- Specifies a list of dimension attributes.
-
setDimensionSeries(Table)
- Sets the DimensionSeries property.
-
setEditableSeries(String)
- Specifies a list of editable attributes.
-
setEditableSeries(Table)
- Sets the EditableSeries property.
-
setFontSeries(String)
- Specifies the font list for cells and/or labels.
-
setFontSeries(Table)
- Sets the FontSeries property.
-
setForegroundSeries(String)
- Specifies the foreground color of cells and labels.
-
setMaxLengthSeries(String)
- Specifies the maximum length of cell contents as entered by the
user.
-
setMaxLengthSeries(Table)
- Sets the MaxLengthSeries property.
-
setMultiLineSeries(String)
- Specifies the multi-line property for each cell.
-
setMultiLineSeries(Table)
-
-
setPixelHeightSeries(String)
- Specifies the row height in pixels.
-
setPixelWidthSeries(String)
- Specifies the column width in pixels.
-
setRepeatBGColors(String)
- Specifies the list of colors to be used when a BackgroundSeries
value is set to REPEAT_ROW or REPEAT_COLUMN.
-
setRepeatFGColors(String)
- Specifies the list of colors to be used when a ForegroundSeries
value is set to REPEAT_ROW or REPEAT_COLUMN.
-
setRowLabelsList(String[])
- Sets the row labels as an array of Strings.
-
setSpanningCells(String)
- Specifies a list of spanned ranges of cells or labels.
-
setSpanningCells(Table)
- Sets the SpanningCells property.
-
setStringCaseSeries(String)
- Specifies the string case for individual cells.
-
setStringCaseSeries(Table)
- Sets the StringCaseSeries property.
-
setTraversableSeries(String)
- Specifies the traversable property for individual cells.
-
setTraversableSeries(Table)
- Sets the TraversableSeries property.
VARIABLE
public static final int VARIABLE
- Mirrored enum to accomodate VisualCafe
AS_IS
public static final int AS_IS
- Mirrored enum to accomodate VisualCafe
ALL
public static final int ALL
- Mirrored enum to accomodate VisualCafe
ALLCELLS
public static final int ALLCELLS
- Mirrored enum to accomodate VisualCafe
LABEL
public static final int LABEL
- Mirrored enum to accomodate VisualCafe
MAXINT
public static final int MAXINT
- Mirrored enum to accomodate VisualCafe
NOTFOUND
public static final int NOTFOUND
- Mirrored enum to accomodate VisualCafe
NOVALUE
public static final int NOVALUE
- Mirrored enum to accomodate VisualCafe
REMOVE
public static final int REMOVE
- Mirrored enum to accomodate VisualCafe
REPEAT_ROW
public static final int REPEAT_ROW
- Mirrored enum to accomodate VisualCafe
REPEAT_COLUMN
public static final int REPEAT_COLUMN
- Mirrored enum to accomodate VisualCafe
MAXDIMENSION
public static final int MAXDIMENSION
- Mirrored enum to accomodate VisualCafe
SB_SIZE
public static final int SB_SIZE
- Mirrored enum to accomodate VisualCafe
TOPLEFT
public static final int TOPLEFT
- Mirrored enum to accomodate VisualCafe
LEFT
public static final int LEFT
- Mirrored enum to accomodate VisualCafe
TOPCENTER
public static final int TOPCENTER
- Mirrored enum to accomodate VisualCafe
CENTER
public static final int CENTER
- Mirrored enum to accomodate VisualCafe
TOPRIGHT
public static final int TOPRIGHT
- Mirrored enum to accomodate VisualCafe
RIGHT
public static final int RIGHT
- Mirrored enum to accomodate VisualCafe
MIDDLELEFT
public static final int MIDDLELEFT
- Mirrored enum to accomodate VisualCafe
MIDDLECENTER
public static final int MIDDLECENTER
- Mirrored enum to accomodate VisualCafe
MIDDLERIGHT
public static final int MIDDLERIGHT
- Mirrored enum to accomodate VisualCafe
BOTTOMLEFT
public static final int BOTTOMLEFT
- Mirrored enum to accomodate VisualCafe
BOTTOMCENTER
public static final int BOTTOMCENTER
- Mirrored enum to accomodate VisualCafe
BOTTOMRIGHT
public static final int BOTTOMRIGHT
- Mirrored enum to accomodate VisualCafe
ATTACH_CELLS
public static final int ATTACH_CELLS
- Mirrored enum to accomodate VisualCafe
ATTACH_SIDE
public static final int ATTACH_SIDE
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_NONE
public static final int BORDERSIDE_NONE
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_LEFT
public static final int BORDERSIDE_LEFT
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_TOP
public static final int BORDERSIDE_TOP
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_BOTTOM
public static final int BORDERSIDE_BOTTOM
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_RIGHT
public static final int BORDERSIDE_RIGHT
- Mirrored enum to accomodate VisualCafe
BORDERSIDE_ALL
public static final int BORDERSIDE_ALL
- Mirrored enum to accomodate VisualCafe
BORDER_NONE
public static final int BORDER_NONE
- Mirrored enum to accomodate VisualCafe
BORDER_ETCHED_IN
public static final int BORDER_ETCHED_IN
- Mirrored enum to accomodate VisualCafe
BORDER_ETCHED_OUT
public static final int BORDER_ETCHED_OUT
- Mirrored enum to accomodate VisualCafe
BORDER_IN
public static final int BORDER_IN
- Mirrored enum to accomodate VisualCafe
BORDER_OUT
public static final int BORDER_OUT
- Mirrored enum to accomodate VisualCafe
BORDER_PLAIN
public static final int BORDER_PLAIN
- Mirrored enum to accomodate VisualCafe
BORDER_FRAME_IN
public static final int BORDER_FRAME_IN
- Mirrored enum to accomodate VisualCafe
BORDER_FRAME_OUT
public static final int BORDER_FRAME_OUT
- Mirrored enum to accomodate VisualCafe
CASE_AS_IS
public static final int CASE_AS_IS
- Mirrored enum to accomodate VisualCafe
CASE_LOWER
public static final int CASE_LOWER
- Mirrored enum to accomodate VisualCafe
CASE_UPPER
public static final int CASE_UPPER
- Mirrored enum to accomodate VisualCafe
SBDISPLAY_AS_NEEDED
public static final int SBDISPLAY_AS_NEEDED
- Mirrored enum to accomodate VisualCafe
SBDISPLAY_ALWAYS
public static final int SBDISPLAY_ALWAYS
- Mirrored enum to accomodate VisualCafe
SBDISPLAY_NEVER
public static final int SBDISPLAY_NEVER
- Mirrored enum to accomodate VisualCafe
JUMP_NONE
public static final int JUMP_NONE
- Mirrored enum to accomodate VisualCafe
JUMP_HORIZONTAL
public static final int JUMP_HORIZONTAL
- Mirrored enum to accomodate VisualCafe
JUMP_VERTICAL
public static final int JUMP_VERTICAL
- Mirrored enum to accomodate VisualCafe
JUMP_ALL
public static final int JUMP_ALL
- Mirrored enum to accomodate VisualCafe
MODE_LIST
public static final int MODE_LIST
- Mirrored enum to accomodate VisualCafe
MODE_TABLE
public static final int MODE_TABLE
- Mirrored enum to accomodate VisualCafe
PLACE_RIGHT
public static final int PLACE_RIGHT
- Mirrored enum to accomodate VisualCafe
PLACE_LEFT
public static final int PLACE_LEFT
- Mirrored enum to accomodate VisualCafe
PLACE_TOP
public static final int PLACE_TOP
- Mirrored enum to accomodate VisualCafe
PLACE_BOTTOM
public static final int PLACE_BOTTOM
- Mirrored enum to accomodate VisualCafe
RESIZE_NONE
public static final int RESIZE_NONE
- Mirrored enum to accomodate VisualCafe
RESIZE_ALL
public static final int RESIZE_ALL
- Mirrored enum to accomodate VisualCafe
RESIZE_COLUMN
public static final int RESIZE_COLUMN
- Mirrored enum to accomodate VisualCafe
RESIZE_ROW
public static final int RESIZE_ROW
- Mirrored enum to accomodate VisualCafe
SELECT_NONE
public static final int SELECT_NONE
- Mirrored enum to accomodate VisualCafe
SELECT_SINGLE
public static final int SELECT_SINGLE
- Mirrored enum to accomodate VisualCafe
SELECT_RANGE
public static final int SELECT_RANGE
- Mirrored enum to accomodate VisualCafe
SELECT_MULTIRANGE
public static final int SELECT_MULTIRANGE
- Mirrored enum to accomodate VisualCafe
STYLE_BUTTON
public static final int STYLE_BUTTON
- Mirrored enum to accomodate VisualCafe
STYLE_SORT
public static final int STYLE_SORT
- Mirrored enum to accomodate VisualCafe
TYPE_BOOLEAN
public static final int TYPE_BOOLEAN
- Mirrored enum to accomodate VisualCafe
TYPE_DATE
public static final int TYPE_DATE
- Mirrored enum to accomodate VisualCafe
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- Mirrored enum to accomodate VisualCafe
TYPE_FLOAT
public static final int TYPE_FLOAT
- Mirrored enum to accomodate VisualCafe
TYPE_INTEGER
public static final int TYPE_INTEGER
- Mirrored enum to accomodate VisualCafe
TYPE_STRING
public static final int TYPE_STRING
- Mirrored enum to accomodate VisualCafe
SBPOSITION_CELLS
public static final int SBPOSITION_CELLS
- Mirrored enum to accomodate VisualCafe
SBPOSITION_SIDE
public static final int SBPOSITION_SIDE
- Mirrored enum to accomodate VisualCafe
VALIDATE_NEVER
public static final int VALIDATE_NEVER
- Mirrored enum to accomodate VisualCafe
VALIDATE_USER_EDIT
public static final int VALIDATE_USER_EDIT
- Mirrored enum to accomodate VisualCafe
VALIDATE_SET
public static final int VALIDATE_SET
- Mirrored enum to accomodate VisualCafe
VALIDATE_ALWAYS
public static final int VALIDATE_ALWAYS
- Mirrored enum to accomodate VisualCafe
JCTableBean
public JCTableBean()
- Default constructor - creates an empty 10-row x 5-column table
setAlignmentSeries
public void setAlignmentSeries(Table t)
- Sets AlignmentSeries from the table which has the new AlignmentSeries value.
- See Also:
- setAlignmentSeries
getAlignmentSeries
public Table getAlignmentSeries()
- Gets the table which has the new AlignmentSeries value.
- See Also:
- setAlignmentSeries
setAlignmentSeries
public void setAlignmentSeries(String s)
- Specifies the alignment of elements in cells. The value of this resource
is a list of cell/value combinations. The following values are defined,
each of which represents a possiblelocation of the element in its cell:
topleft, left, topcenter, center, topright, right, middleleft,
middlecenter, middleright, bottomleft, bottomcenter, bottomright. The
default is topleft.
Example code:
(LABEL ALL center) (ALL LABEL left)
This method is used for code generation in IDEs.
setBorderSidesSeries
public void setBorderSidesSeries(Table t)
getBorderSidesSeries
public Table getBorderSidesSeries()
- Gets the table which has the new BorderSidesSeries value.
- See Also:
- setBorderSidesSeries
setBorderSidesSeries
public void setBorderSidesSeries(String s)
- Specifies the sides of a cell or label that display the border type in
their border area. The value of this resource is a list of cell/value
combinations. Valid values are any or all of borderside_none,
borderside_left, borderside_top, borderside_bottom, borderside_right,
borderside_all. The default value is borderside_all. If more than one
value is specified, the values are separated by "+" characters.
Example code:
(all all borderside_top+borderside_left)
setBorderTypeSeries
public void setBorderTypeSeries(Table t)
- Sets BorderTypeSeries from the table which has the new BorderTypeSeries value.
- See Also:
- setBorderTypeSeries
getBorderTypeSeries
public Table getBorderTypeSeries()
- Gets the table which has the new BorderTypeSeries value.
- See Also:
- setBorderTypeSeries
setBorderTypeSeries
public void setBorderTypeSeries(String s)
- Specifies the style used for cell and label borders. The value of this
resource is a list of cell/value combinations; Valid values are border_in,
border_out, border_plain, border_none, border_etched_in,
border_etched_out, border_frame_in, border_frame_out. The default is
border_in.
Example code:
(ALL ALL border_etched_in)
setCharHeightSeries
public void setCharHeightSeries(String s)
- Specifies the number of lines of text a row can display. The value
of this resource is a list of row/value combinations; each combination
is enclosed in parentheses, and consists of a row and its value. The
value can be any number of lines. This resource is ignored if
PixelHeightSeries is set for this row to anything other than NOVALUE.
Example code:
(3 5)
getCharHeightSeries
public String getCharHeightSeries()
- Gets the CharHeightSeries property. See setCharHeightSeries for
details.
setCharWidthSeries
public void setCharWidthSeries(String s)
- Specifies the number of characters that a column can display. The
value of this resource is a list of column/value combinations;
each combination is enclosed in parentheses, and consists of a
column and its value. The value can be any number of characters.
This resource is ignored if PixelWidthSeries is set for this column
to anything other than NOVALUE.
Example code:
(2 15)
getCharWidthSeries
public String getCharWidthSeries()
- Gets the CharWidthSeries property. See setCharWidthSeries for
details.
setComponentSeries
public void setComponentSeries(Table t)
- Sets the ComponentSeries property.
- See Also:
- setComponentSeries
getComponentSeries
public Table getComponentSeries()
- Gets the ComponentSeries property.
- See Also:
- setComponentSeries
setComponentSeries
public void setComponentSeries(String s)
- Specifies a component to be used in a cell or series of cells. The
value is a list of cell/component combinations. Any fully-named
component should work.
Example code:
(1 2 Button)
setDataTypeSeries
public void setDataTypeSeries(Table t)
- Sets the DataTypeSeries property.
getDataTypeSeries
public Table getDataTypeSeries()
- Gets the DataTypeSeries property.
see #setDataTypeSeries
setDataTypeSeries
public void setDataTypeSeries(String s)
- Specifies a list of data types. The value of this resource is a list
of cell/value combinations; Valid values are type_double, type_float,
type_integer and type_string (default).
In the JClass LiveTable Applet, this resource is primarily used by
columnLabelSort and rowLabelSort to determine the column or row sorting
order. Values of type_string are sorted in alphabetical order; others
are sorted in numerical order.
Example code:
(ALL 1 type_integer)
setDimensionSeries
public void setDimensionSeries(Table t)
- Sets the DimensionSeries property.
getDimensionSeries
public Table getDimensionSeries()
- Gets the DimensionSeries property.
see #setDimensionSeries
setDimensionSeries
public void setDimensionSeries(String s[])
- Specifies a list of dimension attributes. The value of this resource
is an array of 4 strings to set the properties in the following order:
- CharHeightSeries
- CharWidthSeries
- PixelHeightSeries
- PixelWidthSeries
Example code:
(all 1)
(all 10)
(all novalue)
(all novalue)
- See Also:
- setCharHeight, setCharWidth, setPixelHeight, setPixelWidth
setEditableSeries
public void setEditableSeries(Table t)
- Sets the EditableSeries property.
getEditableSeries
public Table getEditableSeries()
- Gets the EditableSeries property.
see #setEditableSeries
setEditableSeries
public void setEditableSeries(String s)
- Specifies a list of editable attributes. The value of this resource
is a list of cell/boolean combinations. This resource is used
to determine if a cell or series of cells can be edited.
Example code:
(1 1 false)(1 2 true)
setFontSeries
public void setFontSeries(Table t)
- Sets the FontSeries property.
- See Also:
- setFontSeries
getFontSeries
public Table getFontSeries()
- Gets the FontSeries property.
- See Also:
- setFontSeries
setFontSeries
public void setFontSeries(String s)
- Specifies the font list for cells and/or labels. The value of this
resource is a list of cell/value combinations.
Example code:
(ALL ALL courier-plain-12) (LABEL ALL helvetica-italic-12)
setColorSeries
public void setColorSeries(Table t)
- Sets the ColorSeries property.
- See Also:
- setColorSeries
getColorSeries
public Table getColorSeries()
- Gets the ColorSeries property.
see #setColorSeries
setColorSeries
public void setColorSeries(String s[])
- Sets the ColorSeries property. It modifies Foreground series and
Background series. The value of this resource is an array of 4
strings to set the properties in the following order:
- ForegroundSeries
- BackgroundSeries
- repeatFGColors
- repeatBGColors
- See Also:
- setForegroundSeries, setBackgroundSeries, setRepeatFGColors, setRepeatBGColors
setForegroundSeries
public void setForegroundSeries(String fs)
- Specifies the foreground color of cells and labels. The value of
this resource is a list of cell/value combinations. Each value must
be a valid color name or RGB value, or one of REPEAT_ROW or
REPEAT_COLUMN. REPEAT_ROW specifies that the cell/label colors are
to be taken from the list specified by the RepeatFGColors property,
and are to be repeated in row order. REPEAT_COLUMN specifies that
the cell/label colors are to be specified by RepeatFGColors and
repeated in column order.
Example code:
(0 4 red)
getForegroundSeries
public String getForegroundSeries()
- Gets the ForegroundSeries property. See setForegroundSeries for
details.
setBackgroundSeries
public void setBackgroundSeries(String fs)
- Specifies the background color of cells and labels. The value of this
resource is a list of cell/value combinations; Each value must be a
valid color name or RGB value, or one of REPEAT_ROW or REPEAT_COLUMN.
REPEAT_ROW specifies that the cell/label colors are to be taken from
the list specified by the RepeatBGColors property, and are to be repeated
in row order. REPEAT_COLUMN specifies that the cell/label colors are to be
specified by RepeatBGColors and repeated in column order.
Example code:
(ALL ALL lightGrey) (LABEL ALL white)
getBackgroundSeries
public String getBackgroundSeries()
- Gets the BackgroundSeries property. See setBackgroundSeries for
details.
setMaxLengthSeries
public void setMaxLengthSeries(Table t)
- Sets the MaxLengthSeries property.
- See Also:
- setMaxLengthSeries
getMaxLengthSeries
public Table getMaxLengthSeries()
- Gets the MaxLengthSeries property.
- See Also:
- setMaxLengthSeries
setMaxLengthSeries
public void setMaxLengthSeries(String s)
- Specifies the maximum length of cell contents as entered by the
user. The value of this resource is a list of cell/integer
combinations.
Example code:
(0 all 10)(4 4 33)
getMultiLineSeries
public Table getMultiLineSeries()
- Gets the MultiLineSeries property. See setMultiLineSeries for
details.
setMultiLineSeries
public void setMultiLineSeries(Table t)
setMultiLineSeries
public void setMultiLineSeries(String s)
- Specifies the multi-line property for each cell. The value of
this resource is a list of cell/boolean combinations.
Example code:
(0 0 true)(1 all false)
setPixelHeightSeries
public void setPixelHeightSeries(String phs)
- Specifies the row height in pixels. The value of this resource is
a list of row/value combinations; each combination is enclosed in
parentheses, and consists of a row and its value. The value can be
any number of pixels, or can be VARIABLE, which sets a row to the
necessary height to display all of the text (or other elements)
for that row. This resource overrides the value of CharHeightSeries.
Example code:
(all variable)
getPixelHeightSeries
public String getPixelHeightSeries()
- Gets the PixelHeightSeries property. See setPixelHeightSeries for
details.
setPixelWidthSeries
public void setPixelWidthSeries(String phs)
- Specifies the column width in pixels. The value of this resource
is a list of column/value combinations; each combination is enclosed
in parentheses, and consists of a column and its value. The value can
be any number of pixels, or can be VARIABLE, which sets a column to
the necessary width to display all of the text (or other elements) for
that column. This resource overrides the value of CharWidthSeries.
Example code:
(all 50)
getPixelWidthSeries
public String getPixelWidthSeries()
- Gets the PixelWidthSeries property. See setPixelWidthSeries for
details.
setStringCaseSeries
public void setStringCaseSeries(Table t)
- Sets the StringCaseSeries property.
getStringCaseSeries
public Table getStringCaseSeries()
- Gets the StringCaseSeries property.
setStringCaseSeries
public void setStringCaseSeries(String s)
- Specifies the string case for individual cells. The value of
this resourse is a list of cell/value combinations. Valid
values include CASE_AS_IS, CASE_UPPER and CASE_LOWER.
Example code:
(0 1 case_as_is)(0 2 case_upper)
setTraversableSeries
public void setTraversableSeries(Table t)
- Sets the TraversableSeries property.
getTraversableSeries
public Table getTraversableSeries()
- Gets the TraversableSeries property.
- See Also:
- setTraversableSeries
setTraversableSeries
public void setTraversableSeries(String s)
- Specifies the traversable property for individual cells. The
value of this property is a list of cell/boolean combinations
that determine whether the specified cells are traversable.
Example code:
(0 0 true) (1 all false)
setCellValues
public void setCellValues(Table t)
- Sets the CellValues property.
- See Also:
- setCellValues
getCellValues
public Table getCellValues()
- Gets the CellValues property.
- See Also:
- setCellValues
setCellValues
public void setCellValues(String s)
- Specifies the contents of cells. Round brackets "()" are used to
delimit rows, and individual cell values are separated by pipe
characters "|". If any of the following characters is to appear,
it must be preceded by a back-slash character ("\"): | \ [ ] ( ).
Newlines are represented by "\n". JCStrings can also be used within
column labels.
Example code:
(James Q. Doohan|1701 Planetia Blvd.\nAnytown, U.S.A.|
|President|$245,000)
(John F. Kricfalusi|983 Nickelodeon Street\nAnytown, U.S.A.|\(999\)
555-9876|Animator|$1,000)
setRepeatFGColors
public void setRepeatFGColors(String s)
- Specifies the list of colors to be used when a ForegroundSeries
value is set to REPEAT_ROW or REPEAT_COLUMN. The value of this
resource is a list of colors separated by commas. Each color in
the list must be a valid color name or RGB value.
Example code:
blue, yellow
getRepeatFGColors
public String getRepeatFGColors()
- Gets the RepeatFGCells property. See setRepeatFGColors for
details.
setRepeatBGColors
public void setRepeatBGColors(String s)
- Specifies the list of colors to be used when a BackgroundSeries
value is set to REPEAT_ROW or REPEAT_COLUMN. The value of this
resource is a list of colors separated by commas. Each color in
the list must be a valid color name or RGB value.
Example code:
yellow, blue
getRepeatBGColors
public String getRepeatBGColors()
- Gets the RepeatBGColors property. See setRepeatBGColors for
details.
setSpanningCells
public void setSpanningCells(Table t)
- Sets the SpanningCells property.
- See Also:
- setSpanningCells
getSpanningCells
public Table getSpanningCells()
- Gets the SpanningCells property.
- See Also:
- setSpanningCells
setSpanningCells
public void setSpanningCells(String s)
- Specifies a list of spanned ranges of cells or labels. A spanned
range is a range of cells or labels that appear joined and can be
treated as one cell/label. The value of this resource is a list of
ranges; each range is enclosed in parentheses.
Each range is specified using one of the following formats:
r1-r2 c1-c2 The row and column boundaries of the range (for
example, 1-3 2-4 specifies a range consisting of
the square bounded by rows 2 and 4, and by columns
3 and 5)
r1,c1 r2,c2 The top-left and bottom-right corners of the range
(for example, 1,2 3,4 specifies a range whose
top-left corner is the cell (1,2) and whose bottom-right
corner is the cell (3,4))
Example code:
(0,0 0,1)(2-3 5-7)
fromSeries
protected String fromSeries(int type)
- Converts from a series to a string based on an enum value.
findString
public boolean findString(String s)
- Finds the next cell which contains the specified string (case-insensitive).
The table is searched in column-order from the current cell,
wrapping if necessary
- Returns:
- false if the string could not be found
setColumnLabelsList
public void setColumnLabelsList(String labels[])
- Sets the column labels as an array of Strings.
getColumnLabelsList
public String[] getColumnLabelsList()
- Gets the column labels as an array of Strings.
setRowLabelsList
public void setRowLabelsList(String labels[])
- Sets the row labels as an array of Strings.
getRowLabelsList
public String[] getRowLabelsList()
- Gets the row labels as an array of Strings.
All Packages Class Hierarchy This Package Previous Next Index