|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.explorer.view.Visualizer
This class provide access to thread safe layer that reflects the hierarchy of Nodes, but is updated only in event dispatch thread (in contrast to nodes that can be updated from any thread). That is why this class is useful for writers of explorer views, because it guarantees that all changes will be done safely.
NodeTreeModel, NodeListModel, etc. use these objects as its model values.
Method Summary | |
static Node |
findNode(Object visualizer)
Converts visualizer object back to its node representant. |
static TreeNode |
findVisualizer(Node node)
Methods that create a tree node for given node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TreeNode findVisualizer(Node node)
This method can be called only from AWT-Event dispatch thread.
node
- node to create safe representant for
public static Node findNode(Object visualizer)
visualizer
- visualizer create by findVisualizer method
ClassCastException
- if the parameter is invalid
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |