|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultTreeModel
wt.clients.beans.table.WTTableModel.GroupTreeModel
Field Summary | |
protected WTTableTreeNode |
root
The root node of the tree |
private String |
rootLabel
Label of the root node of the tree |
Fields inherited from class javax.swing.tree.DefaultTreeModel |
asksAllowsChildren, listenerList |
Constructor Summary | |
WTTableModel.GroupTreeModel(WTTableTreeNode pRootNode)
Construct a new group tree model |
Method Summary | |
void |
fillTreeModel()
Fill the tree using the data set in the main model. |
String |
getRootLabel()
Answer the label of the root node of the tree. |
void |
refreshModel()
Some data may have change, force the tree to be rebuild. |
void |
setRootLabel(String pRootLabel)
Set the label of the root node of the tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WTTableTreeNode root
private String rootLabel
Constructor Detail |
public WTTableModel.GroupTreeModel(WTTableTreeNode pRootNode)
Method Detail |
public void refreshModel()
public void setRootLabel(String pRootLabel)
pRootLabel
- the label for the root of the treepublic String getRootLabel()
public void fillTreeModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |