public class TreeConfigNode extends MutableTreeNodeObject implements Named, HasProperties, LocalResource
| Modifier and Type | Field and Description |
|---|---|
String |
_fields |
String |
name |
PropertyList |
properties |
children, parent| Constructor and Description |
|---|
TreeConfigNode() |
TreeConfigNode(String name) |
| Modifier and Type | Method and Description |
|---|---|
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()
Get the name of the Object.
|
PropertyList |
getProperties()
Get the PropertyList object associated with this object.
|
boolean |
isNamed(String name)
By default this does a direct comparison between name and getName().
|
String |
toString()
Return a String representation of this object.
|
addChild, canExpand, clearChildren, collapse, expand, getChild, getChildCount, getChildren, getParent, indexOfChild, insertChild, isLeaf, removeChild, setParentpublic String name
public PropertyList properties
public String _fields
public TreeConfigNode()
public TreeConfigNode(String name)
public PropertyList getProperties()
HasPropertiesgetProperties in interface HasPropertiespublic String getName()
Namedpublic boolean isNamed(String name)
isNamed in interface Namedname - a possible name.Named.isNamed(java.lang.String)public String toString()
Objectpublic Object get(int value, Object defaultValue)
LocalResourceget in interface LocalResourcepublic Object get(String value, Object defaultValue)
LocalResourceget in interface LocalResource