public class Visualizer extends Object
NodeTreeModel, NodeListModel, etc. use these objects as its model values.
Modifier and Type | Method and Description |
---|---|
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.
|
public static TreeNode findVisualizer(Node node)
This method can be called only from AWT-Event dispatch thread.
node
- node to create safe representant forpublic static Node findNode(Object visualizer)
visualizer
- visualizer create by findVisualizer methodClassCastException
- if the parameter is invalid