|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.base.apps.beans.prefs.view.PrefNode
public class PrefNode
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
PrefNode(String name)
Constructs a PrefNode with the given name. |
|
PrefNode(String name,
BasePreferences userObject)
Constructs a PrefNode with the given name and BasePreferences. |
|
PrefNode(String name,
Property userObject)
Constructs a PrefNode with the given name and Property. |
|
| Method Summary | |
|---|---|
String |
getName()
Fetches the name of this instance. |
BasePreferences |
getPreferences()
|
Property |
getProperty()
|
boolean |
isProperty()
|
void |
setName(String name)
Sets the name of this instance. |
void |
setPreferences(BasePreferences pref)
|
void |
setProperty(Property prop)
|
void |
setUserObject(Object userObject)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrefNode(String name)
PrefNode with the given name.
name - The given name.
public PrefNode(String name,
Property userObject)
PrefNode with the given name and Property.
name - The given name.userObject - The given Property.
public PrefNode(String name,
BasePreferences userObject)
PrefNode with the given name and BasePreferences.
name - The given name.userObject - The given BasePreferences.| Method Detail |
|---|
public BasePreferences getPreferences()
public void setUserObject(Object userObject)
setUserObject in interface MutableTreeNodesetUserObject in class DefaultMutableTreeNodeDefaultMutableTreeNode.setUserObject(java.lang.Object)public void setPreferences(BasePreferences pref)
public boolean isProperty()
public Property getProperty()
public void setProperty(Property prop)
public String getName()
Named
getName in interface NamedNamed.getName()public void setName(String name)
Nameable
setName in interface Nameablename - The new name.Nameable.setName(java.lang.String)
|
Please visit Base Apps, hosted on Sourceforge.net. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||