Public Methods | |
TreeTableCellRenderer (TreeModel model) | |
void | updateUI () |
void | setRowHeight (int rowHeight) |
void | setBounds (int x, int y, int w, int h) |
void | paint (Graphics g) |
Component | getTableCellRendererComponent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) |
Protected Attributes | |
int | visibleRow |
Definition at line 50 of file JTreeTable.java.
|
TreeCellRenderer method. Overridden to update the visible row. Definition at line 110 of file JTreeTable.java. |
|
Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0. Definition at line 102 of file JTreeTable.java. |
|
This is overridden to set the height to match that of the JTable. Definition at line 94 of file JTreeTable.java. |
|
Sets the row height of the tree, and forwards the row height to the table. Definition at line 82 of file JTreeTable.java. |
|
updateUI is overridden to set the colors of the Tree's renderer to match that of the table. Definition at line 62 of file JTreeTable.java. |
|
Last table/tree row asked to renderer. Definition at line 52 of file JTreeTable.java. |