Property | Type | Description | |
---|---|---|---|
visibleRow | int |
Method | Description | |
---|---|---|
GetTableCellRendererComponent ( JTable table, object value, bool isSelected, bool hasFocus, int row, int column ) : Component |
TreeCellRenderer method. TreeCellRenderer method. Overridden to update the visible row. |
|
Paint ( Graphics g ) : void |
Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0. Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0. |
|
SetBounds ( int x, int y, int w, int h ) : void |
This is overridden to set the height to match that of the JTable. This is overridden to set the height to match that of the JTable. |
|
SetRowHeight ( int rowHeight ) : void |
Sets the row height of the tree, and forwards the row height to the table. Sets the row height of the tree, and forwards the row height to the table. |
|
TreeTableCellRenderer ( |
||
UpdateUI ( ) : void |
updateUI is overridden to set the colors of the Tree's renderer to match that of the table. updateUI is overridden to set the colors of the Tree's renderer to match that of the table. |
public GetTableCellRendererComponent ( JTable table, object value, bool isSelected, bool hasFocus, int row, int column ) : Component | ||
table | JTable | |
value | object | |
isSelected | bool | |
hasFocus | bool | |
row | int | |
column | int | |
return | Component |
public SetBounds ( int x, int y, int w, int h ) : void | ||
x | int | |
y | int | |
w | int | |
h | int | |
return | void |
public TreeTableCellRenderer ( |
||
_enclosing | ||
model | TreeModel | |
return | Java.Awt |