Modifier and Type | Field and Description |
---|---|
private Font | |
private Color | |
private Color | |
private Color | |
pack-priv static final int | |
private Font | |
pack-priv static final int |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public int | |
public void | |
public TableCellRenderer | getCellRenderer(int
the row of the cell to render, where 0 is the first row row, int the column of the cell to render,
where 0 is the first column column)Overrides javax. |
public abstract String | |
pack-priv Color | |
pack-priv Color | |
public int | |
public String | |
public abstract Object | |
public abstract String | |
public abstract boolean | |
public boolean | |
public boolean | isCellEditable(int
the row whose value is to be queried row, int the column whose value is to be queried col)Overrides javax. row and column
is editable.
|
public abstract boolean | |
public abstract boolean | |
public abstract boolean | |
public boolean | |
public abstract boolean | |
public abstract boolean | |
public Component | prepareRenderer(TableCellRenderer
the renderer, int TableCellRenderer to preparethe row of the cell to render, where 0 is the first row row, int the column of the cell to render,
where 0 is the first column column)Overrides javax. row , column .
|
public abstract void | |
pack-priv void | sortRequested(int
the column against which the rows are sorted column)Called by TableSorter if a mouse event requests to sort the rows. |
boldFont | back to summary |
---|---|
private Font boldFont |
defaultColor | back to summary |
---|---|
private Color defaultColor |
editableColor | back to summary |
---|---|
private Color editableColor |
errorColor | back to summary |
---|---|
private Color errorColor |
NAME_COLUMN | back to summary |
---|---|
pack-priv static final int NAME_COLUMN |
normalFont | back to summary |
---|---|
private Font normalFont |
VALUE_COLUMN | back to summary |
---|---|
pack-priv static final int VALUE_COLUMN |
XTable | back to summary |
---|---|
public XTable() |
convertRowToIndex | back to summary |
---|---|
public int convertRowToIndex(int row) |
emptyTable | back to summary |
---|---|
public void emptyTable() |
getCellRenderer | back to summary |
---|---|
public TableCellRenderer getCellRenderer(int row, int column) Overrides javax. This method sets read write rows to be blue, and other rows to be their default rendered colour.
|
getClassName | back to summary |
---|---|
public abstract String getClassName(int row) |
getDefaultColor | back to summary |
---|---|
pack-priv Color getDefaultColor() |
getEditableColor | back to summary |
---|---|
pack-priv Color getEditableColor() |
getSelectedIndex | back to summary |
---|---|
public int getSelectedIndex() This returns the select index as the table was at initialization |
getToolTip | back to summary |
---|---|
public String getToolTip(int row, int column) |
getValue | back to summary |
---|---|
public abstract Object getValue(int row) |
getValueName | back to summary |
---|---|
public abstract String getValueName(int row) |
isAttributeViewable | back to summary |
---|---|
public abstract boolean isAttributeViewable(int row, int col) |
isCellDroppable | back to summary |
---|---|
public boolean isCellDroppable(int row, int col) |
isCellEditable | back to summary |
---|---|
public boolean isCellEditable(int row, int col) Overrides javax. Doc from javax. Returns true if the cell at Note The column is specified in the table view's display
order, and not in the
|
isCellError | back to summary |
---|---|
public abstract boolean isCellError(int row, int col) |
isColumnEditable | back to summary |
---|---|
public abstract boolean isColumnEditable(int column) |
isReadable | back to summary |
---|---|
public abstract boolean isReadable(int row) |
isReadWrite | back to summary |
---|---|
public boolean isReadWrite(int row) |
isTableEditable | back to summary |
---|---|
public abstract boolean isTableEditable() |
isWritable | back to summary |
---|---|
public abstract boolean isWritable(int row) |
prepareRenderer | back to summary |
---|---|
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) Overrides javax. Doc from javax. Prepares the renderer by querying the data model for the
value and selection state
of the cell at
During a printing operation, this method will configure the
renderer without indicating selection or focus, to prevent
them from appearing in the printed output. To do other
customizations based on whether or not the table is being
printed, you can check the value of
Note Throughout the table package, the internal implementations always use this method to prepare renderers so that this default behavior can be safely overridden by a subclass.
|
setTableValue | back to summary |
---|---|
public abstract void setTableValue(Object value, int row) |
sortRequested | back to summary |
---|---|
pack-priv void sortRequested(int column) Called by TableSorter if a mouse event requests to sort the rows.
|