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:

  1. Moves all enums into the component class to work around a limitation in Visual Cafe.
  2. 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.
 


Variable Index

 o ALL
Mirrored enum to accomodate VisualCafe
 o ALLCELLS
Mirrored enum to accomodate VisualCafe
 o AS_IS
Mirrored enum to accomodate VisualCafe
 o ATTACH_CELLS
Mirrored enum to accomodate VisualCafe
 o ATTACH_SIDE
Mirrored enum to accomodate VisualCafe
 o BORDER_ETCHED_IN
Mirrored enum to accomodate VisualCafe
 o BORDER_ETCHED_OUT
Mirrored enum to accomodate VisualCafe
 o BORDER_FRAME_IN
Mirrored enum to accomodate VisualCafe
 o BORDER_FRAME_OUT
Mirrored enum to accomodate VisualCafe
 o BORDER_IN
Mirrored enum to accomodate VisualCafe
 o BORDER_NONE
Mirrored enum to accomodate VisualCafe
 o BORDER_OUT
Mirrored enum to accomodate VisualCafe
 o BORDER_PLAIN
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_ALL
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_BOTTOM
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_LEFT
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_NONE
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_RIGHT
Mirrored enum to accomodate VisualCafe
 o BORDERSIDE_TOP
Mirrored enum to accomodate VisualCafe
 o BOTTOMCENTER
Mirrored enum to accomodate VisualCafe
 o BOTTOMLEFT
Mirrored enum to accomodate VisualCafe
 o BOTTOMRIGHT
Mirrored enum to accomodate VisualCafe
 o CASE_AS_IS
Mirrored enum to accomodate VisualCafe
 o CASE_LOWER
Mirrored enum to accomodate VisualCafe
 o CASE_UPPER
Mirrored enum to accomodate VisualCafe
 o CENTER
Mirrored enum to accomodate VisualCafe
 o JUMP_ALL
Mirrored enum to accomodate VisualCafe
 o JUMP_HORIZONTAL
Mirrored enum to accomodate VisualCafe
 o JUMP_NONE
Mirrored enum to accomodate VisualCafe
 o JUMP_VERTICAL
Mirrored enum to accomodate VisualCafe
 o LABEL
Mirrored enum to accomodate VisualCafe
 o LEFT
Mirrored enum to accomodate VisualCafe
 o MAXDIMENSION
Mirrored enum to accomodate VisualCafe
 o MAXINT
Mirrored enum to accomodate VisualCafe
 o MIDDLECENTER
Mirrored enum to accomodate VisualCafe
 o MIDDLELEFT
Mirrored enum to accomodate VisualCafe
 o MIDDLERIGHT
Mirrored enum to accomodate VisualCafe
 o MODE_LIST
Mirrored enum to accomodate VisualCafe
 o MODE_TABLE
Mirrored enum to accomodate VisualCafe
 o NOTFOUND
Mirrored enum to accomodate VisualCafe
 o NOVALUE
Mirrored enum to accomodate VisualCafe
 o PLACE_BOTTOM
Mirrored enum to accomodate VisualCafe
 o PLACE_LEFT
Mirrored enum to accomodate VisualCafe
 o PLACE_RIGHT
Mirrored enum to accomodate VisualCafe
 o PLACE_TOP
Mirrored enum to accomodate VisualCafe
 o REMOVE
Mirrored enum to accomodate VisualCafe
 o REPEAT_COLUMN
Mirrored enum to accomodate VisualCafe
 o REPEAT_ROW
Mirrored enum to accomodate VisualCafe
 o RESIZE_ALL
Mirrored enum to accomodate VisualCafe
 o RESIZE_COLUMN
Mirrored enum to accomodate VisualCafe
 o RESIZE_NONE
Mirrored enum to accomodate VisualCafe
 o RESIZE_ROW
Mirrored enum to accomodate VisualCafe
 o RIGHT
Mirrored enum to accomodate VisualCafe
 o SB_SIZE
Mirrored enum to accomodate VisualCafe
 o SBDISPLAY_ALWAYS
Mirrored enum to accomodate VisualCafe
 o SBDISPLAY_AS_NEEDED
Mirrored enum to accomodate VisualCafe
 o SBDISPLAY_NEVER
Mirrored enum to accomodate VisualCafe
 o SBPOSITION_CELLS
Mirrored enum to accomodate VisualCafe
 o SBPOSITION_SIDE
Mirrored enum to accomodate VisualCafe
 o SELECT_MULTIRANGE
Mirrored enum to accomodate VisualCafe
 o SELECT_NONE
Mirrored enum to accomodate VisualCafe
 o SELECT_RANGE
Mirrored enum to accomodate VisualCafe
 o SELECT_SINGLE
Mirrored enum to accomodate VisualCafe
 o STYLE_BUTTON
Mirrored enum to accomodate VisualCafe
 o STYLE_SORT
Mirrored enum to accomodate VisualCafe
 o TOPCENTER
Mirrored enum to accomodate VisualCafe
 o TOPLEFT
Mirrored enum to accomodate VisualCafe
 o TOPRIGHT
Mirrored enum to accomodate VisualCafe
 o TYPE_BOOLEAN
Mirrored enum to accomodate VisualCafe
 o TYPE_DATE
Mirrored enum to accomodate VisualCafe
 o TYPE_DOUBLE
Mirrored enum to accomodate VisualCafe
 o TYPE_FLOAT
Mirrored enum to accomodate VisualCafe
 o TYPE_INTEGER
Mirrored enum to accomodate VisualCafe
 o TYPE_STRING
Mirrored enum to accomodate VisualCafe
 o VALIDATE_ALWAYS
Mirrored enum to accomodate VisualCafe
 o VALIDATE_NEVER
Mirrored enum to accomodate VisualCafe
 o VALIDATE_SET
Mirrored enum to accomodate VisualCafe
 o VALIDATE_USER_EDIT
Mirrored enum to accomodate VisualCafe
 o VARIABLE
Mirrored enum to accomodate VisualCafe

Constructor Index

 o JCTableBean()
Default constructor - creates an empty 10-row x 5-column table

Method Index

 o findString(String)
Finds the next cell which contains the specified string (case-insensitive).
 o fromSeries(int)
Converts from a series to a string based on an enum value.
 o getAlignmentSeries()
Gets the table which has the new AlignmentSeries value.
 o getBackgroundSeries()
Gets the BackgroundSeries property.
 o getBorderSidesSeries()
Gets the table which has the new BorderSidesSeries value.
 o getBorderTypeSeries()
Gets the table which has the new BorderTypeSeries value.
 o getCellValues()
Gets the CellValues property.
 o getCharHeightSeries()
Gets the CharHeightSeries property.
 o getCharWidthSeries()
Gets the CharWidthSeries property.
 o getColorSeries()
Gets the ColorSeries property.
 o getColumnLabelsList()
Gets the column labels as an array of Strings.
 o getComponentSeries()
Gets the ComponentSeries property.
 o getDataTypeSeries()
Gets the DataTypeSeries property.
 o getDimensionSeries()
Gets the DimensionSeries property.
 o getEditableSeries()
Gets the EditableSeries property.
 o getFontSeries()
Gets the FontSeries property.
 o getForegroundSeries()
Gets the ForegroundSeries property.
 o getMaxLengthSeries()
Gets the MaxLengthSeries property.
 o getMultiLineSeries()
Gets the MultiLineSeries property.
 o getPixelHeightSeries()
Gets the PixelHeightSeries property.
 o getPixelWidthSeries()
Gets the PixelWidthSeries property.
 o getRepeatBGColors()
Gets the RepeatBGColors property.
 o getRepeatFGColors()
Gets the RepeatFGCells property.
 o getRowLabelsList()
Gets the row labels as an array of Strings.
 o getSpanningCells()
Gets the SpanningCells property.
 o getStringCaseSeries()
Gets the StringCaseSeries property.
 o getTraversableSeries()
Gets the TraversableSeries property.
 o setAlignmentSeries(String)
Specifies the alignment of elements in cells.
 o setAlignmentSeries(Table)
Sets AlignmentSeries from the table which has the new AlignmentSeries value.
 o setBackgroundSeries(String)
Specifies the background color of cells and labels.
 o setBorderSidesSeries(String)
Specifies the sides of a cell or label that display the border type in their border area.
 o setBorderSidesSeries(Table)
 o setBorderTypeSeries(String)
Specifies the style used for cell and label borders.
 o setBorderTypeSeries(Table)
Sets BorderTypeSeries from the table which has the new BorderTypeSeries value.
 o setCellValues(String)
Specifies the contents of cells.
 o setCellValues(Table)
Sets the CellValues property.
 o setCharHeightSeries(String)
Specifies the number of lines of text a row can display.
 o setCharWidthSeries(String)
Specifies the number of characters that a column can display.
 o setColorSeries(String[])
Sets the ColorSeries property.
 o setColorSeries(Table)
Sets the ColorSeries property.
 o setColumnLabelsList(String[])
Sets the column labels as an array of Strings.
 o setComponentSeries(String)
Specifies a component to be used in a cell or series of cells.
 o setComponentSeries(Table)
Sets the ComponentSeries property.
 o setDataTypeSeries(String)
Specifies a list of data types.
 o setDataTypeSeries(Table)
Sets the DataTypeSeries property.
 o setDimensionSeries(String[])
Specifies a list of dimension attributes.
 o setDimensionSeries(Table)
Sets the DimensionSeries property.
 o setEditableSeries(String)
Specifies a list of editable attributes.
 o setEditableSeries(Table)
Sets the EditableSeries property.
 o setFontSeries(String)
Specifies the font list for cells and/or labels.
 o setFontSeries(Table)
Sets the FontSeries property.
 o setForegroundSeries(String)
Specifies the foreground color of cells and labels.
 o setMaxLengthSeries(String)
Specifies the maximum length of cell contents as entered by the user.
 o setMaxLengthSeries(Table)
Sets the MaxLengthSeries property.
 o setMultiLineSeries(String)
Specifies the multi-line property for each cell.
 o setMultiLineSeries(Table)
 o setPixelHeightSeries(String)
Specifies the row height in pixels.
 o setPixelWidthSeries(String)
Specifies the column width in pixels.
 o setRepeatBGColors(String)
Specifies the list of colors to be used when a BackgroundSeries value is set to REPEAT_ROW or REPEAT_COLUMN.
 o setRepeatFGColors(String)
Specifies the list of colors to be used when a ForegroundSeries value is set to REPEAT_ROW or REPEAT_COLUMN.
 o setRowLabelsList(String[])
Sets the row labels as an array of Strings.
 o setSpanningCells(String)
Specifies a list of spanned ranges of cells or labels.
 o setSpanningCells(Table)
Sets the SpanningCells property.
 o setStringCaseSeries(String)
Specifies the string case for individual cells.
 o setStringCaseSeries(Table)
Sets the StringCaseSeries property.
 o setTraversableSeries(String)
Specifies the traversable property for individual cells.
 o setTraversableSeries(Table)
Sets the TraversableSeries property.

Variables

 o VARIABLE
 public static final int VARIABLE
Mirrored enum to accomodate VisualCafe

 o AS_IS
 public static final int AS_IS
Mirrored enum to accomodate VisualCafe

 o ALL
 public static final int ALL
Mirrored enum to accomodate VisualCafe

 o ALLCELLS
 public static final int ALLCELLS
Mirrored enum to accomodate VisualCafe

 o LABEL
 public static final int LABEL
Mirrored enum to accomodate VisualCafe

 o MAXINT
 public static final int MAXINT
Mirrored enum to accomodate VisualCafe

 o NOTFOUND
 public static final int NOTFOUND
Mirrored enum to accomodate VisualCafe

 o NOVALUE
 public static final int NOVALUE
Mirrored enum to accomodate VisualCafe

 o REMOVE
 public static final int REMOVE
Mirrored enum to accomodate VisualCafe

 o REPEAT_ROW
 public static final int REPEAT_ROW
Mirrored enum to accomodate VisualCafe

 o REPEAT_COLUMN
 public static final int REPEAT_COLUMN
Mirrored enum to accomodate VisualCafe

 o MAXDIMENSION
 public static final int MAXDIMENSION
Mirrored enum to accomodate VisualCafe

 o SB_SIZE
 public static final int SB_SIZE
Mirrored enum to accomodate VisualCafe

 o TOPLEFT
 public static final int TOPLEFT
Mirrored enum to accomodate VisualCafe

 o LEFT
 public static final int LEFT
Mirrored enum to accomodate VisualCafe

 o TOPCENTER
 public static final int TOPCENTER
Mirrored enum to accomodate VisualCafe

 o CENTER
 public static final int CENTER
Mirrored enum to accomodate VisualCafe

 o TOPRIGHT
 public static final int TOPRIGHT
Mirrored enum to accomodate VisualCafe

 o RIGHT
 public static final int RIGHT
Mirrored enum to accomodate VisualCafe

 o MIDDLELEFT
 public static final int MIDDLELEFT
Mirrored enum to accomodate VisualCafe

 o MIDDLECENTER
 public static final int MIDDLECENTER
Mirrored enum to accomodate VisualCafe

 o MIDDLERIGHT
 public static final int MIDDLERIGHT
Mirrored enum to accomodate VisualCafe

 o BOTTOMLEFT
 public static final int BOTTOMLEFT
Mirrored enum to accomodate VisualCafe

 o BOTTOMCENTER
 public static final int BOTTOMCENTER
Mirrored enum to accomodate VisualCafe

 o BOTTOMRIGHT
 public static final int BOTTOMRIGHT
Mirrored enum to accomodate VisualCafe

 o ATTACH_CELLS
 public static final int ATTACH_CELLS
Mirrored enum to accomodate VisualCafe

 o ATTACH_SIDE
 public static final int ATTACH_SIDE
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_NONE
 public static final int BORDERSIDE_NONE
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_LEFT
 public static final int BORDERSIDE_LEFT
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_TOP
 public static final int BORDERSIDE_TOP
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_BOTTOM
 public static final int BORDERSIDE_BOTTOM
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_RIGHT
 public static final int BORDERSIDE_RIGHT
Mirrored enum to accomodate VisualCafe

 o BORDERSIDE_ALL
 public static final int BORDERSIDE_ALL
Mirrored enum to accomodate VisualCafe

 o BORDER_NONE
 public static final int BORDER_NONE
Mirrored enum to accomodate VisualCafe

 o BORDER_ETCHED_IN
 public static final int BORDER_ETCHED_IN
Mirrored enum to accomodate VisualCafe

 o BORDER_ETCHED_OUT
 public static final int BORDER_ETCHED_OUT
Mirrored enum to accomodate VisualCafe

 o BORDER_IN
 public static final int BORDER_IN
Mirrored enum to accomodate VisualCafe

 o BORDER_OUT
 public static final int BORDER_OUT
Mirrored enum to accomodate VisualCafe

 o BORDER_PLAIN
 public static final int BORDER_PLAIN
Mirrored enum to accomodate VisualCafe

 o BORDER_FRAME_IN
 public static final int BORDER_FRAME_IN
Mirrored enum to accomodate VisualCafe

 o BORDER_FRAME_OUT
 public static final int BORDER_FRAME_OUT
Mirrored enum to accomodate VisualCafe

 o CASE_AS_IS
 public static final int CASE_AS_IS
Mirrored enum to accomodate VisualCafe

 o CASE_LOWER
 public static final int CASE_LOWER
Mirrored enum to accomodate VisualCafe

 o CASE_UPPER
 public static final int CASE_UPPER
Mirrored enum to accomodate VisualCafe

 o SBDISPLAY_AS_NEEDED
 public static final int SBDISPLAY_AS_NEEDED
Mirrored enum to accomodate VisualCafe

 o SBDISPLAY_ALWAYS
 public static final int SBDISPLAY_ALWAYS
Mirrored enum to accomodate VisualCafe

 o SBDISPLAY_NEVER
 public static final int SBDISPLAY_NEVER
Mirrored enum to accomodate VisualCafe

 o JUMP_NONE
 public static final int JUMP_NONE
Mirrored enum to accomodate VisualCafe

 o JUMP_HORIZONTAL
 public static final int JUMP_HORIZONTAL
Mirrored enum to accomodate VisualCafe

 o JUMP_VERTICAL
 public static final int JUMP_VERTICAL
Mirrored enum to accomodate VisualCafe

 o JUMP_ALL
 public static final int JUMP_ALL
Mirrored enum to accomodate VisualCafe

 o MODE_LIST
 public static final int MODE_LIST
Mirrored enum to accomodate VisualCafe

 o MODE_TABLE
 public static final int MODE_TABLE
Mirrored enum to accomodate VisualCafe

 o PLACE_RIGHT
 public static final int PLACE_RIGHT
Mirrored enum to accomodate VisualCafe

 o PLACE_LEFT
 public static final int PLACE_LEFT
Mirrored enum to accomodate VisualCafe

 o PLACE_TOP
 public static final int PLACE_TOP
Mirrored enum to accomodate VisualCafe

 o PLACE_BOTTOM
 public static final int PLACE_BOTTOM
Mirrored enum to accomodate VisualCafe

 o RESIZE_NONE
 public static final int RESIZE_NONE
Mirrored enum to accomodate VisualCafe

 o RESIZE_ALL
 public static final int RESIZE_ALL
Mirrored enum to accomodate VisualCafe

 o RESIZE_COLUMN
 public static final int RESIZE_COLUMN
Mirrored enum to accomodate VisualCafe

 o RESIZE_ROW
 public static final int RESIZE_ROW
Mirrored enum to accomodate VisualCafe

 o SELECT_NONE
 public static final int SELECT_NONE
Mirrored enum to accomodate VisualCafe

 o SELECT_SINGLE
 public static final int SELECT_SINGLE
Mirrored enum to accomodate VisualCafe

 o SELECT_RANGE
 public static final int SELECT_RANGE
Mirrored enum to accomodate VisualCafe

 o SELECT_MULTIRANGE
 public static final int SELECT_MULTIRANGE
Mirrored enum to accomodate VisualCafe

 o STYLE_BUTTON
 public static final int STYLE_BUTTON
Mirrored enum to accomodate VisualCafe

 o STYLE_SORT
 public static final int STYLE_SORT
Mirrored enum to accomodate VisualCafe

 o TYPE_BOOLEAN
 public static final int TYPE_BOOLEAN
Mirrored enum to accomodate VisualCafe

 o TYPE_DATE
 public static final int TYPE_DATE
Mirrored enum to accomodate VisualCafe

 o TYPE_DOUBLE
 public static final int TYPE_DOUBLE
Mirrored enum to accomodate VisualCafe

 o TYPE_FLOAT
 public static final int TYPE_FLOAT
Mirrored enum to accomodate VisualCafe

 o TYPE_INTEGER
 public static final int TYPE_INTEGER
Mirrored enum to accomodate VisualCafe

 o TYPE_STRING
 public static final int TYPE_STRING
Mirrored enum to accomodate VisualCafe

 o SBPOSITION_CELLS
 public static final int SBPOSITION_CELLS
Mirrored enum to accomodate VisualCafe

 o SBPOSITION_SIDE
 public static final int SBPOSITION_SIDE
Mirrored enum to accomodate VisualCafe

 o VALIDATE_NEVER
 public static final int VALIDATE_NEVER
Mirrored enum to accomodate VisualCafe

 o VALIDATE_USER_EDIT
 public static final int VALIDATE_USER_EDIT
Mirrored enum to accomodate VisualCafe

 o VALIDATE_SET
 public static final int VALIDATE_SET
Mirrored enum to accomodate VisualCafe

 o VALIDATE_ALWAYS
 public static final int VALIDATE_ALWAYS
Mirrored enum to accomodate VisualCafe

Constructors

 o JCTableBean
 public JCTableBean()
Default constructor - creates an empty 10-row x 5-column table

Methods

 o setAlignmentSeries
 public void setAlignmentSeries(Table t)
Sets AlignmentSeries from the table which has the new AlignmentSeries value.

See Also:
setAlignmentSeries
 o getAlignmentSeries
 public Table getAlignmentSeries()
Gets the table which has the new AlignmentSeries value.

See Also:
setAlignmentSeries
 o 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.

 o setBorderSidesSeries
 public void setBorderSidesSeries(Table t)
 o getBorderSidesSeries
 public Table getBorderSidesSeries()
Gets the table which has the new BorderSidesSeries value.

See Also:
setBorderSidesSeries
 o 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)
 

 o setBorderTypeSeries
 public void setBorderTypeSeries(Table t)
Sets BorderTypeSeries from the table which has the new BorderTypeSeries value.

See Also:
setBorderTypeSeries
 o getBorderTypeSeries
 public Table getBorderTypeSeries()
Gets the table which has the new BorderTypeSeries value.

See Also:
setBorderTypeSeries
 o 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)
 

 o 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)
 

 o getCharHeightSeries
 public String getCharHeightSeries()
Gets the CharHeightSeries property. See setCharHeightSeries for details.

 o 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)
 

 o getCharWidthSeries
 public String getCharWidthSeries()
Gets the CharWidthSeries property. See setCharWidthSeries for details.

 o setComponentSeries
 public void setComponentSeries(Table t)
Sets the ComponentSeries property.

See Also:
setComponentSeries
 o getComponentSeries
 public Table getComponentSeries()
Gets the ComponentSeries property.

See Also:
setComponentSeries
 o 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)
 

 o setDataTypeSeries
 public void setDataTypeSeries(Table t)
Sets the DataTypeSeries property.

 o getDataTypeSeries
 public Table getDataTypeSeries()
Gets the DataTypeSeries property. see #setDataTypeSeries

 o 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)
 

 o setDimensionSeries
 public void setDimensionSeries(Table t)
Sets the DimensionSeries property.

 o getDimensionSeries
 public Table getDimensionSeries()
Gets the DimensionSeries property. see #setDimensionSeries

 o 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:
  1. CharHeightSeries
  2. CharWidthSeries
  3. PixelHeightSeries
  4. PixelWidthSeries
Example code:
	(all 1)
	(all 10)
	(all novalue)
	(all novalue) 
 

See Also:
setCharHeight, setCharWidth, setPixelHeight, setPixelWidth
 o setEditableSeries
 public void setEditableSeries(Table t)
Sets the EditableSeries property.

 o getEditableSeries
 public Table getEditableSeries()
Gets the EditableSeries property. see #setEditableSeries

 o 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)
 

 o setFontSeries
 public void setFontSeries(Table t)
Sets the FontSeries property.

See Also:
setFontSeries
 o getFontSeries
 public Table getFontSeries()
Gets the FontSeries property.

See Also:
setFontSeries
 o 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)
 

 o setColorSeries
 public void setColorSeries(Table t)
Sets the ColorSeries property.

See Also:
setColorSeries
 o getColorSeries
 public Table getColorSeries()
Gets the ColorSeries property. see #setColorSeries

 o 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:
  1. ForegroundSeries
  2. BackgroundSeries
  3. repeatFGColors
  4. repeatBGColors

See Also:
setForegroundSeries, setBackgroundSeries, setRepeatFGColors, setRepeatBGColors
 o 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)
 

 o getForegroundSeries
 public String getForegroundSeries()
Gets the ForegroundSeries property. See setForegroundSeries for details.

 o 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)
 

 o getBackgroundSeries
 public String getBackgroundSeries()
Gets the BackgroundSeries property. See setBackgroundSeries for details.

 o setMaxLengthSeries
 public void setMaxLengthSeries(Table t)
Sets the MaxLengthSeries property.

See Also:
setMaxLengthSeries
 o getMaxLengthSeries
 public Table getMaxLengthSeries()
Gets the MaxLengthSeries property.

See Also:
setMaxLengthSeries
 o 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)
 

 o getMultiLineSeries
 public Table getMultiLineSeries()
Gets the MultiLineSeries property. See setMultiLineSeries for details.

 o setMultiLineSeries
 public void setMultiLineSeries(Table t)
 o 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)
 

 o 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)
 

 o getPixelHeightSeries
 public String getPixelHeightSeries()
Gets the PixelHeightSeries property. See setPixelHeightSeries for details.

 o 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)
 

 o getPixelWidthSeries
 public String getPixelWidthSeries()
Gets the PixelWidthSeries property. See setPixelWidthSeries for details.

 o setStringCaseSeries
 public void setStringCaseSeries(Table t)
Sets the StringCaseSeries property.

 o getStringCaseSeries
 public Table getStringCaseSeries()
Gets the StringCaseSeries property.

 o 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)
 

 o setTraversableSeries
 public void setTraversableSeries(Table t)
Sets the TraversableSeries property.

 o getTraversableSeries
 public Table getTraversableSeries()
Gets the TraversableSeries property.

See Also:
setTraversableSeries
 o 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)
 

 o setCellValues
 public void setCellValues(Table t)
Sets the CellValues property.

See Also:
setCellValues
 o getCellValues
 public Table getCellValues()
Gets the CellValues property.

See Also:
setCellValues
 o 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)
 

 o 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
 

 o getRepeatFGColors
 public String getRepeatFGColors()
Gets the RepeatFGCells property. See setRepeatFGColors for details.

 o 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
 

 o getRepeatBGColors
 public String getRepeatBGColors()
Gets the RepeatBGColors property. See setRepeatBGColors for details.

 o setSpanningCells
 public void setSpanningCells(Table t)
Sets the SpanningCells property.

See Also:
setSpanningCells
 o getSpanningCells
 public Table getSpanningCells()
Gets the SpanningCells property.

See Also:
setSpanningCells
 o 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)

 o fromSeries
 protected String fromSeries(int type)
Converts from a series to a string based on an enum value.

 o 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
 o setColumnLabelsList
 public void setColumnLabelsList(String labels[])
Sets the column labels as an array of Strings.

 o getColumnLabelsList
 public String[] getColumnLabelsList()
Gets the column labels as an array of Strings.

 o setRowLabelsList
 public void setRowLabelsList(String labels[])
Sets the row labels as an array of Strings.

 o getRowLabelsList
 public String[] getRowLabelsList()
Gets the row labels as an array of Strings.


All Packages  Class Hierarchy  This Package  Previous  Next  Index