java.util.prefs
public class NodeChangeEvent extends EventObject
PreferenceChangeEvent
.
Note that although this class is marked as serializable, attempts to serialize it will fail with NotSerializableException.
Since: 1.4
Constructor Summary | |
---|---|
NodeChangeEvent(Preferences parentNode, Preferences childNode)
Creates a new NodeChangeEvent.
|
Method Summary | |
---|---|
Preferences | getChild()
Returns the child preference subnode that was added or removed.
|
Preferences | getParent()
Returns the source parent preference node from which a subnode was
added or removed. |
Parameters: parentNode The source preference node from which a subnode was added or removed childNode The preference node that was added or removed
event.getChild().nodeExists("")
.