|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableContentInterface
Interface used by the row header view of a table. It allows to retrieve information regarding the row keys in a table and their hilite status.
Method Summary | |
---|---|
void |
addTableModelListener(TableModelListener l)
Adds a listener to the list that is notified each time a change to the data model occurs. |
ColorAttr |
getColorAttr(int row)
Get the color of a requested row, The color is shown as icon in front of the row key. |
int |
getRowCount()
Get the number of rows that are in the table. |
RowKey |
getRowKey(int row)
Get the row key for a given row index. |
boolean |
isHiLit(int row)
Is the Row row hilited? The row with the index will
be cached (if it hasn't been in there) and the hilite status of the
row is returned. |
void |
removeTableModelListener(TableModelListener l)
Removes a listener from the list that is notified each time a change to the data model occurs. |
Method Detail |
---|
int getRowCount()
TableModel.getRowCount()
RowKey getRowKey(int row)
row
- The row index.
IndexOutOfBoundsException
- If the index is out of range.ColorAttr getColorAttr(int row)
row
- The row index.
IndexOutOfBoundsException
- If the index is out of range.boolean isHiLit(int row)
row
hilited? The row with the index will
be cached (if it hasn't been in there) and the hilite status of the
row is returned. This method may change the current cache content since
it ensures row
is in the cache.
row
- The row index of interest
true
If that index is currently hilitedvoid addTableModelListener(TableModelListener l)
l
- the TableModelListenervoid removeTableModelListener(TableModelListener l)
l
- the TableModelListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |