Name
|
Description
|
Values/Examples
|
AllowCellResize
|
The AllowCellResize property specifies whether and how an end user is able to resize rows and columns.
|
JCTableEnum.RESIZE_ALL*
JCTableEnum.RESIZE_NONE
JCTableEnum.RESIZE_COLUMN
JCTableEnum.RESIZE_ROW
|
AllowResizeBy
|
This property determines whether row heights and column widths can be resized by labels.
|
JCTableEnum.RESIZE_BY_LABELS*
JCTableEnum.RESIZE_BY_CELLS
JCTableEnum.RESIZE_BY_ALL
|
AutoEdit
|
Determines whether an editor is automatically displayed in a cell when it is entered.
|
boolean value: default false
|
AutoScroll
|
This property sets how the table scrolls when the user moves out of the bounds of the displayed table.
|
JCTableEnum.AUTO_SCROLL_NONE*
JCTableEnum.AUTO_SCROLL_ROW
JCTableEnum.AUTO_SCROLL_COLUMN
JCTableEnum.AUTO_SCROLL_BOTH
|
CellBorderWidth
|
Sets the shadow thickness around each cell.
|
integer: number of pixels
|
CharHeight
|
Height in characters of individual cells.
|
specific row number,
JCTableEnum.LABEL, or JCTableEnum.ALL, plus the number of characters
|
CharWidth
|
Width of column in characters.
|
specific column number, JCTableEnum.LABEL, or JCTableEnum.ALL, plus the number of characters
|
ColumnHidden
|
Determines if the column is hidden.
|
boolean value: default false
|
ColumnLabelDisplay
|
Determines whether the column labels display in the table.
|
boolean value: default false
|
ColumnLabelOffset
|
Distance between column labels and table cells.
|
pixels (default: 0). For example:
setColumnLabelOffset(4)
|
ColumnLabel
Placement
|
Location of the column labels (top or bottom of the table).
|
JCTableEnum.PLACE_TOP*
JCTableEnum.PLACE_BOTTOM
|
ColumnSelection
|
Selects a range of columns.
|
int column range
|
Component
|
Swing and lightweight AWT components in individual cells.
|
row and column index, component
|
ComponentBorder
Width
|
This property determines the spacing between the border of a cell and the cell component.
|
integer value (pixels)
|
Cursor
|
Creates a cursor and determines the cursor type.
|
Cursor.CROSSHAIR_CURSOR
Cursor.DEFAULT_CURSOR
Cursor.E_RESIZE_CURSOR
Cursor.HAND_CURSOR
Cursor.MOVE_CURSOR
Cursor.N_RESIZE_CURSOR
Cursor.NE_RESIZE_CURSOR
Cursor.NW_RESIZE_CURSOR
Cursor.S_RESIZE_CURSOR
Cursor.SE_RESIZE_CURSOR
Cursor.SW_RESIZE_CURSOR
Cursor.TEXT_CURSOR
Cursor.W_RESIZE_CURSOR
Cursor.WAIT_CURSOR
|
EditHeightPolicy
|
Vertical sizing policy for cell editors.
|
JCTableEnum.EDIT_SIZE_TO_CELL*
JCTableEnum.EDIT_ENSURE_ MINIMUM_SIZE
JCTableEnum.EDIT_ENSURE_ PREFERRED_SIZE
|
EditWidthPolicy
|
Horizontal sizing policy for cell editors.
|
JCTableEnum.EDIT_SIZE_TO_CELL*
JCTableEnum.EDIT_ENSURE_
MINIMUM_SIZE
JCTableEnum.EDIT_ENSURE_
PREFERRED_SIZE
|
FocusColor
|
Determines the color of the focus indicator.
|
Any java.awt.Color object.
|
FocusIndicator
|
This property sets the focus indicator.
|
JCTableEnum.FOCUS_RECTANGLE*
JCTableEnum.FOCUS_DASHED_
RECTANGLE
JCTableEnum.FOCUS_NONE
JCTableEnum.FOCUS_HIGHLIGHT
|
Font
|
Sets the font for the entire table.
|
array of colors
|
Foreground
|
Sets the foreground color for the entire table.
|
array of colors
|
FrameBorder
|
Sets the border for the frame around the table.
|
CellBorderModel
|
FrameBorderWidth
|
Sets the thickness of the frame around the entire table.
|
pixels (default:0). For example:
setFrameBorderWidth(5);
|
FrozenColumn Placement
|
Sets the location of all frozen columns within the component display. Changing the placement of frozen columns does not change the location of the columns in the table's internal CellValues.
|
JCTableEnum.PLACE_LEFT*
JCTableEnum.PLACE_RIGHT
|
FrozenColumns
|
Specifies the number of columns from the start of the table that are not horizontally scrollable.
|
number of columns to freeze. For example: setFrozenColumns(3);
|
FrozenRow Placement
|
Specifies the location of all frozen rows.
|
JCTableEnum.PLACE_TOP*
JCTableEnum.PLACE_BOTTOM
|
FrozenRows
|
Specifies the number of rows from the start of the table that are not vertically scrollable.
|
number of rows to freeze. For example: setFrozenRows(2);
|
HorizSBAttachment
|
Attach point for horizontal scrollbar. When set to SIZE_TO_CELLS, the scrollbar ends at the edge of the visible cells. When set to SIZE_TO_TABLES, the scrollbar is attached to the whole side of the table.
|
JCTableEnum.SIZE_TO_CELLS*
JCTableEnum.SIZE_TO_TABLE
|
HorizSBDisplay
|
Determines when to display horizontal scrollbar.
|
JCTableEnum.SBDISPLAY_ALWAYS
JCTableEnum.SBDISPLAY_NEVER
JCTableEnum.SBDISPLAY_AS_
NEEDED*
|
HorizSBOffset
|
Distance between the table and horizontal scrollbar in pixels.
|
integer: number of pixels. For example:
setHorizSBOffset(3);
|
HorizSBPosition
|
Position of horizontal scrollbar. When set to POSITION_BY_CELLS, the scrollbar is attached to the visible cells. When set to POSITION_AT_SIDE, the scrollbar is attached to the whole side of the table.
|
JCTableEnum.POSITION_BY_CELLS*
JCTableEnum.POSITION__AT_SIDE
|
HorizSBTrack
|
Determines how the horizontal scrollbar acts during scroll tracking.
|
JCTableEnum.TRACK_LIVE*
JCTableEnum.TRACK_COLUMN_ NUMBER
JCTableEnum.TRACK_ROW
|
HorizSBTrackRow
|
Determines the row number whose text is displayed when JCTableEnum.TRACK_ ROW is used with setHorizSBTrack()
|
JCTableEnum.LABEL
or
integer value (row number's cell data)
|
JumpScroll
|
Determines whether the table will visually scroll smoothly or whether the display will `jump' to display the cells scrolled to.
|
JCTableEnum.JUMP_NONE*
JCTableEnum.JUMP_HORIZONTAL
JCTableEnum.JUMP_VERTICAL
JCTableEnum.JUMP_ALL
|
LeftColumn
|
Indicates the non-frozen column at least partially visible at the left side of the window.
|
integer: column number
|
MarginHeight
|
Specifies the distance (in pixels) between the inside edge of the cell border.
|
integer: pixels. For example: setMarginHeight(4);
|
MarginWidth
|
Specifies the distance (in pixels) between the inside edge of the cell border and the left/right edge of the cell's contents.
|
integer: pixels. For example:
setMarginWidth(3);
|
MaxHeight
|
Sets the maximum number of pixels for a row's height.
|
integer value (pixels)
|
MaxWidth
|
Sets the maximum number of pixels for a column's width.
|
integer value (pixels)
|
MinCellVisibility
|
Minimum visible percentage of a cell.
|
integer: 1 to 100
|
MinHeight
|
Sets the minimum number of pixels for a row's height.
|
integer value (pixels)
|
MinWidth
|
Sets the minimum number of pixels for column's width.
|
integer value (pixels)
|
PixelHeight
|
Row height in pixels. This property controls the height unless set to JCTableEnum.NOVALUE.
|
integer value (pixels) Special values:
JCTableEnum.VARIABLE
JCTableEnum.AS_IS
JCTableEnum.VARIABLE_ESTIMATE
|
PixelWidth
|
Column width in pixels. This property controls the width unless set to JCTableEnum.NOVALUE.
|
integer value (pixels) Special values:
JCTableEnum.VARIABLE
JCTableEnum.AS_IS
JCTableEnum.VARIABLE_ESTIMATE
|
PopupMenuEnabled
|
Determines whether or not to display the table popup menu.
|
boolean value
default: false for LiveTable
default: true for JBdbTable and DSdbTable
|
RepaintEnabled
|
Sets whether the table should be redrawn and recomputed whenever one of its properties is set.
|
boolean value (default: true)
|
ResizeEven
|
Specifies that when a user resizes a row or column, all of the rows or columns also resize the same amount.
|
boolean value (default: false)
|
ResizeInteractive
|
Determines if a table is repainted to reflect column width or row height changes if they are resized interactively.
|
boolean value (default: false)
|
RowHidden
|
Determines if the row is hidden.
|
boolean value (default: false)
|
RowLabelDisplay
|
This property has a boolean value to determine whether the row labels display in the table
|
boolean value (default: true)
|
RowLabelOffset
|
Offset between row labels and table.
|
integer: number of pixels
|
RowLabelPlacement
|
Location of the row labels.
|
JCTableEnum.PLACE_LEFT*
JCTableEnum.PLACE_RIGHT
|
RowSelection
|
Selects a range of rows.
|
integer range
|
SelectIncludeLabels
|
Sets the selection behavior for row and column labels. When true, full column or row selections do not change the visible properties of the label. When false, the row or column label is changed.
|
boolean (default: true)
|
SelectedBackground
|
Background color for cells that have been selected. The default is the cells' foreground color.
|
Color value. For example:
setSelectedBackground(Color.
yellow);
|
SelectedBackground Mode
|
Sets the table's background color for selected cells.
|
JCTableEnum.USE_SELECTED_
BACKGROUND
JCTableEnum.USE_CELL_
BACKGROUND
JCTableEnum.USE_CELL_
FOREGROUND
|
SelectedCells
|
List of selected cells.
|
Vector or JCCellRange
|
SelectedForeground
|
Foreground color for cells that have been selected. The default is the cells' background color.
|
Color value. For example:
setSelectedForeground
(Color.blue);
|
SelectedForeground Mode
|
Sets the table's foreground color for selected cells.
|
JCTableEnum.USE_SELECTED_
FOREGROUND
JCTableEnum.USE_CELL_
BACKGROUND
JCTableEnum.USE_CELL_
FOREGROUND
|
SelectionModel
|
Specifies the mode for selecting, based on cells, rows, or columns.
|
SelectionModel
|
SelectionPolicy
|
Sets the type of allowable selection.
|
JCTableEnum.SELECT_NONE
JCTableEnum.SELECT_SINGLE
JCTableEnum.SELECT_RANGE
JCTableEnum.SELECT_MULTIRANGE
|
SeriesDataSorted
|
Specifies if series are sorted when the table is sorted. If set as true, the series information sorts with the table data.
|
boolean (default: true)
|
StoreImageEnabled
|
Determines whether an image of the table is maintained off-screen.
|
boolean (default: false)
|
TopRow
|
Indicates the non-frozen row at least partially visible at the top of the table.
|
integer: row number
|
TrackBackground
|
Determines the background color of the track component.
|
Color value
|
TrackCursor
|
Determines whether the cursor changes.
|
boolean (default: true)
|
TrackForeground
|
Determines the foreground color of the track component.
|
Color value
|
TrackSize
|
Returns the size of the track component.
|
Dimension value
|
TraverseCycle
|
Specifies that when a user traverses to past the top, bottom, left, or right of the table, the traversal wraps to the opposite side.
|
boolean (default: true)
|
VariableEstimate Count
|
Sets the number of cells to use in estimating variable pixel calculations.
|
default: JCTableEnum.ALL
|
VertSBAttachment
|
Attach point for vertical scrollbar. When set to SIZE_TO_CELLS, the scrollbar ends at the edge of the visible cells. When set to SIZE_TO_TABLE, the scrollbar is attached to the whole side of the table.
|
JCTableEnum.SIZE_TO_CELLS
JCTableEnum.SIZE_TO_TABLE
|
VertSBDisplay
|
Determines when to display vertical scrollbar.
|
JCTableEnum.SBDISPLAY_AS_
NEEDED*
JCTableEnum.SBDISPLAY_ALWAYS
JCTableEnum.SBDISPLAY_NEVER
|
VertSBOffset
|
Distance between the table and vertical scrollbar.
|
integer: number of pixels. For example:
setVertSBOffset(4);
|
VertSBPosition
|
Position of vertical scrollbar. When set to POSITION_BY_CELLS, the scrollbar is attached to the visible cells. When set to POSITION__AT_SIDE, the scrollbar is attached to the whole side of the table.
|
JCTableEnum.POSITION_BY_CELLS
JCTableEnum.POSITION_AT_SIDE
|
VertSBTrack
|
This property determines how the vertical scrollbar acts during scroll tracking.
|
JCTableEnum.TRACK_LIVE*
JCTableEnum.TRACK_ROW_NUMBER
JCTableEnum.TRACK_COLUMN
|
VertSBTrackColumn
|
Determines the column number whose text is displayed when JCTableEnum.TRACK_
ROW is used with setVertSBTrack().
|
JCTableEnum.LABEL
or
integer value (row number's cell data)
|
VisibleColumns
|
Sets the number of columns used to determine the initial table size. This value is not updated when columns or the table are resized.
|
integer: number of visible columns
|
VisibleRows
|
Sets the number of rows used to determine the initial table size. This value is not updated when rows or the table are resized.
|
integer: number of visible rows
|