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, setParent
public String name
public PropertyList properties
public String _fields
public TreeConfigNode()
public TreeConfigNode(String name)
public PropertyList getProperties()
HasProperties
getProperties
in interface HasProperties
public String getName()
Named
public boolean isNamed(String name)
isNamed
in interface Named
name
- a possible name.Named.isNamed(java.lang.String)
public String toString()
Object
public Object get(int value, Object defaultValue)
LocalResource
get
in interface LocalResource
public Object get(String value, Object defaultValue)
LocalResource
get
in interface LocalResource