Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
F
G
I
K
N
P
R
A
addNodeChangeListener(NodeChangeListener)
- Method in class javax.prefs.
Preferences
Adds the specified listener to receive
NodeChange
events for this node.
addPropertyChangeListener(PropertyChangeListener)
- Method in class javax.prefs.
Preferences
Adds the specified listener to receive property change events for this preference node.
C
child(String)
- Method in class javax.prefs.
Preferences
Returns the named child of this preference node, creating it if it does not already exist.
childAdded(NodeChangeEvent)
- Method in interface javax.prefs.
NodeChangeListener
This method gets called when a child node is added.
childRemoved(NodeChangeEvent)
- Method in interface javax.prefs.
NodeChangeListener
This method gets called when a child node is removed.
children()
- Method in class javax.prefs.
Preferences
Returns the children of this preference node.
clear()
- Method in class javax.prefs.
Preferences
Removes all of the preferences (key-value associations) in this preference node.
F
flush()
- Method in class javax.prefs.
Preferences
Forces any changes in the contents of this preference node and its descendants to the persistent store.
forClass(Object)
- Static method in class javax.prefs.
Preferences
Returns the preference node associated (by convention) with the specified object's class.
forPackage(Object)
- Static method in class javax.prefs.
Preferences
Returns the preference node associated (by convention) with the specified object's package.
fullName()
- Method in class javax.prefs.
Preferences
Returns this preference node's absolute path name.
G
get(String, String)
- Method in class javax.prefs.
Preferences
Returns the value associated with the specified key in this preference node.
getBoolean(String, boolean)
- Method in class javax.prefs.
Preferences
Returns the boolean value represented by the string associated with the specified key in this preference node.
getInt(String, int)
- Method in class javax.prefs.
Preferences
Returns the int value represented by the string associated with the specified key in this preference node.
getNodeName()
- Method in class javax.prefs.
NodeChangeEvent
Gets the name of the node that was added or deleted, relative to its parent.
I
init(Preferences, String)
- Method in class javax.prefs.
Preferences
Initializes this Preferences object, which must be uninitialized prior to this call.
K
keys()
- Method in class javax.prefs.
Preferences
Returns all of the keys that have an associated value in this preference node.
N
name()
- Method in class javax.prefs.
Preferences
Returns this preference node's name, relative to its parent.
node(String)
- Method in class javax.prefs.
Preferences
Returns the named preference node, creating it and any of its ancestors if they do not already exist.
NodeChangeEvent
- class javax.prefs.
NodeChangeEvent
.
A
NodeChange
event gets delivered whenever a caller adds or removes a preferences node.
NodeChangeEvent(Preferences, String)
- Constructor for class javax.prefs.
NodeChangeEvent
The name of the node that was added or deleted, relative to its parent.
NodeChangeListener
- interface javax.prefs.
NodeChangeListener
.
A
NodeChange
event gets fired whenever a caller removes or adds a child to a preferences node.
nodeExists(String)
- Method in class javax.prefs.
Preferences
Returns true if the named preference node exists.
P
parent()
- Method in class javax.prefs.
Preferences
Returns the parent of this preference node, or null if this is the root.
Preferences
- class javax.prefs.
Preferences
.
A node in a hierarchical collection of preference data.
Preferences()
- Constructor for class javax.prefs.
Preferences
Creates a new uninitialized Preferences object.
Preferences(Preferences, String)
- Constructor for class javax.prefs.
Preferences
Creates a new preference node with the specified parent and the specified name relative to its parent.
put(String, String)
- Method in class javax.prefs.
Preferences
Associates the specified value with the specified key in this preference node.
putBoolean(String, boolean)
- Method in class javax.prefs.
Preferences
Associates a string representing the specified boolean value with the specified key in this preference node.
putInt(String, int)
- Method in class javax.prefs.
Preferences
Associates a string representing the specified int value with the specified key in this preference node.
R
refresh()
- Method in class javax.prefs.
Preferences
Ensures that future reads from this preference node and its descendants reflect any changes that have been committed to the persistent store (from any VM).
remove(String)
- Method in class javax.prefs.
Preferences
Removes the value associated with the specified key in this preference node, if any.
removeChild(String)
- Method in class javax.prefs.
Preferences
Removes the named child of this preference node and all of its descendants, invalidating any preferences contained in the removed nodes.
removeNode(String)
- Method in class javax.prefs.
Preferences
Removes the named preference node and all of its descendants, invalidating any preferences contained in the removed nodes.
removeNodeChangeListener(NodeChangeListener)
- Method in class javax.prefs.
Preferences
Removes the specified
NodeChangeListener
, so it no longer receives change events.
removePropertyChangeListener(PropertyChangeListener)
- Method in class javax.prefs.
Preferences
Removes the specified property change listener, so it no longer receives change events.
root()
- Static method in class javax.prefs.
Preferences
Returns the root preference node for the calling user.
A
C
F
G
I
K
N
P
R
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES