ewe.io
Class TreeConfigNode

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.LiveObject
          extended byewe.data.LiveTreeNode
              extended byewe.io.TreeConfigNode
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener, HasProperties, LiveData, LocalResource, MutableTreeNode, TreeNode

public class TreeConfigNode
extends LiveTreeNode
implements HasProperties, LocalResource


Field Summary
 String _fields
           
 String name
           
 PropertyList properties
           
 
Fields inherited from class ewe.data.LiveTreeNode
children, parent
 
Constructor Summary
TreeConfigNode()
           
TreeConfigNode(String name)
           
 
Method Summary
 Object get(int value, Object defaultValue)
          This should convert the resourceID to a String and then call get(resourceName,defaultValue);
 Object get(String value, Object defaultValue)
          This finds the local resource as given by the resourceName.
 String getName()
          By default this returns the String "unnamed".
 PropertyList getProperties()
          Get the PropertyList object associated with this object.
 String toString()
          Return a String representation of this object.
 
Methods inherited from class ewe.data.LiveTreeNode
addChild, addressOfChild, addressOfChild, addressOfChild, canExpand, collapse, expand, findNamedChild, getChild, getChildAt, getChildAt, getChildCount, getChildren, getParent, getParent, getSibling, indexOfChild, insertChild, isLeaf, 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

name

public String name

properties

public PropertyList properties

_fields

public String _fields
Constructor Detail

TreeConfigNode

public TreeConfigNode()

TreeConfigNode

public TreeConfigNode(String name)
Method Detail

getProperties

public PropertyList getProperties()
Description copied from interface: HasProperties
Get the PropertyList object associated with this object.

Specified by:
getProperties in interface HasProperties

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.

get

public Object get(int value,
                  Object defaultValue)
Description copied from interface: LocalResource
This should convert the resourceID to a String and then call get(resourceName,defaultValue);

Specified by:
get in interface LocalResource

get

public Object get(String value,
                  Object defaultValue)
Description copied from interface: LocalResource
This finds the local resource as given by the resourceName. If it cannot be found the defaultValue will be returned.

Specified by:
get in interface LocalResource