ewex.registry
Class RegistryKeyNode

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.LiveObject
          extended byewe.data.LiveTreeNode
              extended byewex.registry.RegistryKeyNode
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener, LiveData, MutableTreeNode, TreeNode

public class RegistryKeyNode
extends LiveTreeNode


Field Summary
 RegistryKey key
           
 
Fields inherited from class ewe.data.LiveTreeNode
children, parent
 
Constructor Summary
RegistryKeyNode(RegistryKey key)
           
 
Method Summary
 boolean canExpand()
          Returns whether this node is expandable.
 boolean collapse()
          Tell it that it can release its children.
 boolean expand()
          Tell it to expand (ie gather its children).
 String getName()
          By default this returns the String "unnamed".
 boolean isLeaf()
          Returns whether this is a node or leaf.
 String toString()
          Return a String representation of this object.
 
Methods inherited from class ewe.data.LiveTreeNode
addChild, addressOfChild, addressOfChild, addressOfChild, findNamedChild, getChild, getChildAt, getChildAt, getChildCount, getChildren, getParent, getParent, getSibling, indexOfChild, insertChild, isNamed, removeChild, setParent
 
Methods inherited from class ewe.data.LiveObject
action, action, addMeToPanel, addObjectToPanel, addToPanel, decode, decoded, decodeFields, enableEditorScrolling, encode, encoded, encodeFields, fieldChanged, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, input, makeNewEditor, runAsApp, textDecode, textEncode
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode
 
Methods inherited from interface ewe.data.DataUnit
copyFrom, getNew
 
Methods inherited from interface ewe.util.Copyable
getCopy
 
Methods inherited from interface ewe.util.Comparable
compareTo
 

Field Detail

key

public RegistryKey key
Constructor Detail

RegistryKeyNode

public RegistryKeyNode(RegistryKey key)
Method Detail

getName

public String getName()
Description copied from class: LiveObject
By default this returns the String "unnamed".

Specified by:
getName in interface LiveData
Overrides:
getName in class LiveObject

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.

canExpand

public boolean canExpand()
Description copied from interface: TreeNode
Returns whether this node is expandable.

Specified by:
canExpand in interface TreeNode
Overrides:
canExpand in class LiveTreeNode

expand

public boolean expand()
Description copied from interface: TreeNode
Tell it to expand (ie gather its children).

Specified by:
expand in interface TreeNode
Overrides:
expand in class LiveTreeNode

isLeaf

public boolean isLeaf()
Description copied from interface: TreeNode
Returns whether this is a node or leaf.

Specified by:
isLeaf in interface TreeNode
Overrides:
isLeaf in class LiveTreeNode

collapse

public boolean collapse()
Description copied from interface: TreeNode
Tell it that it can release its children.

Specified by:
collapse in interface TreeNode
Overrides:
collapse in class LiveTreeNode