|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.ui.gui.GridTreeModel
public class GridTreeModel
This class generate the Grid Tree, it has a instance of MyGridUIServices to
obtain informations to create tree.
It has too, maps to store all GuMPs and MyGuMs that alredy have been inserted
in tree to prevent exhausting algorithms to verify if already had been
inserted in the tree.
Constructor Summary | |
---|---|
GridTreeModel()
Create a GridTreeModel. |
Method Summary | |
---|---|
javax.swing.tree.DefaultMutableTreeNode |
getPeerRoot()
This method is friendly because test needs a reference to Node Root |
javax.swing.tree.TreeModel |
getTree()
|
javax.swing.tree.DefaultTreeModel |
getTreeModel()
Returns the tree to adds in panel |
void |
refreshTree(java.util.Map<PeerSpec,PeerEntry.PeerState> peers)
Refresh the tree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridTreeModel()
java.rmi.RemoteException
Method Detail |
---|
public javax.swing.tree.DefaultTreeModel getTreeModel()
public void refreshTree(java.util.Map<PeerSpec,PeerEntry.PeerState> peers)
public javax.swing.tree.DefaultMutableTreeNode getPeerRoot()
public javax.swing.tree.TreeModel getTree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |