net.sf.jzeno.echo.screen.settings
Class MenuEditorScreen.MenuSpecTreeModel

java.lang.Object
  extended by net.sf.jzeno.echo.screen.settings.MenuEditorScreen.MenuSpecTreeModel
All Implemented Interfaces:
DynaTreeModel
Enclosing class:
MenuEditorScreen

public class MenuEditorScreen.MenuSpecTreeModel
extends java.lang.Object
implements DynaTreeModel


Constructor Summary
MenuEditorScreen.MenuSpecTreeModel()
           
 
Method Summary
 java.util.List getChildren(java.lang.Object node)
           Retrieve the list of JavaBeans that are direct children of node
 PropertyComponent getComponent(java.lang.Object node, boolean selected, boolean expanded, boolean leaf)
           Create a PropertyComponent that is capable of visualizing the given node, and in the provided state (expanded, leaf, etc..).
 java.lang.Object getParent(java.lang.Object node)
           Retrieve the parent of node.
 boolean isLeaf(java.lang.Object node)
           Determine wether or not node is a leaf of the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuEditorScreen.MenuSpecTreeModel

public MenuEditorScreen.MenuSpecTreeModel()
Method Detail

getChildren

public java.util.List getChildren(java.lang.Object node)
Description copied from interface: DynaTreeModel

Retrieve the list of JavaBeans that are direct children of node

Specified by:
getChildren in interface DynaTreeModel

getComponent

public PropertyComponent getComponent(java.lang.Object node,
                                      boolean selected,
                                      boolean expanded,
                                      boolean leaf)
Description copied from interface: DynaTreeModel

Create a PropertyComponent that is capable of visualizing the given node, and in the provided state (expanded, leaf, etc..). This component will be cached by dthe DynaTree for as long as the given node occurs in the component tree.

Specified by:
getComponent in interface DynaTreeModel

getParent

public java.lang.Object getParent(java.lang.Object node)
Description copied from interface: DynaTreeModel

Retrieve the parent of node.

Specified by:
getParent in interface DynaTreeModel

isLeaf

public boolean isLeaf(java.lang.Object node)
Description copied from interface: DynaTreeModel

Determine wether or not node is a leaf of the tree.

Specified by:
isLeaf in interface DynaTreeModel