This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.util.prefs
class NodeChangeEvent
- All Implemented Interfaces:
- Serializable
public class NodeChangeEvent
extends EventObject
An event emitted by a Preferences node to indicate that
a child of that node has been added or removed.
Note, that although NodeChangeEvent inherits Serializable interface from
java.util.EventObject, it is not intended to be Serializable. Appropriate
serialization methods are implemented to throw NotSerializableException.
Constructor Summary |
Constructs a new NodeChangeEvent instance.
|
Method Summary |
Preferences |
Returns the node that was added or removed.
|
Preferences |
Returns the parent of the node that was added or removed.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeChangeEvent
public NodeChangeEvent(Preferences parent,
Preferences child)
-
Constructs a new
NodeChangeEvent
instance.
- Parameters:
parent
- The parent of the node that was added or removed.
child
- The node that was added or removed.
getChild
public Preferences getChild()
-
Returns the node that was added or removed.
- Returns:
- The node that was added or removed.
getParent
public Preferences getParent()
-
Returns the parent of the node that was added or removed.
- Returns:
- The parent Preferences node whose child was added or removed
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.