ewe.io
Class TreeConfigNode
java.lang.Object
ewe.data.DataObject
ewe.data.LiveObject
ewe.data.LiveTreeNode
ewe.io.TreeConfigNode
- All Implemented Interfaces:
- Comparable, Copyable, DataUnit, FieldListener, HasProperties, LiveData, LocalResource, MutableTreeNode, TreeNode
- public class TreeConfigNode
- extends LiveTreeNode
- implements HasProperties, LocalResource
|
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 |
name
public String name
properties
public PropertyList properties
_fields
public String _fields
TreeConfigNode
public TreeConfigNode()
TreeConfigNode
public TreeConfigNode(String name)
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