Inheritance diagram for treetable::TTree:
Public Methods | |
TTree (TTreeTable tTREE_TABLE, TreeModel tTREE_MODEL) | |
void | collapseAll (TreePath tPARENT_TREE_PATH) |
void | expandAll (TreePath tPARENT_TREE_PATH) |
void | setBounds (int iX, int iY, int iWIDTH, int iHEIGHT) |
void | updateUI () |
void | setLastVisibleRow (int iVISIBLE_ROW) |
void | setRowHeight (int iROW_HEIGHT) |
void | paint (Graphics tGRAPHICS) |
Protected Attributes | |
int | iVisibleRow |
Last table/tree row asked to renderer. | |
TTreeTable | tTreeTable |
The tree-table. |
Definition at line 85 of file TTree.java.
|
Builds a new instance.
Definition at line 105 of file TTree.java. References treetable::TTree::tTreeTable. |
|
Collapses all nodes in the tree path.
Definition at line 116 of file TTree.java. |
|
Expands all nodes in the tree path.
Definition at line 149 of file TTree.java. |
|
Paints this component. It has been subclassed to translate the graphics such that the last visible row will be drawn at 0,0.
Definition at line 253 of file TTree.java. References treetable::TTree::iVisibleRow. |
|
Moves and resizes this component. The new location of the top-left corner is specified by iX and iY, and the new size is specified by iWIDTH and iHEIGHT. This is overridden to set the height to match that of the JTable. iX The new x-coordinate of this component. iY The new y-coordinate of this component. iWIDTH The new width of this component. iHEIGHT The new height of this component. Definition at line 188 of file TTree.java. References treetable::TTree::tTreeTable. |
|
Sets the last visible row for the tree renderer.
Definition at line 222 of file TTree.java. References treetable::TTree::iVisibleRow. |
|
Sets the row height of the tree, and forwards the row height to the table.
Definition at line 231 of file TTree.java. References treetable::TTree::tTreeTable. |
|
Notification from the UIManager that the L&F has changed. Replaces the current UI object with the latest version from the UIManager. It is overridden to set the colors of the Tree's renderer to match that of the table. Definition at line 199 of file TTree.java. |