public class NodeChangeEvent extends EventObject
PreferenceChangeEvent.
Note that although this class is marked as serializable, attempts to serialize it will fail with NotSerializableException.
source| Constructor and Description |
|---|
NodeChangeEvent(Preferences parentNode,
Preferences childNode)
Creates a new NodeChangeEvent.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getSource, toStringpublic NodeChangeEvent(Preferences parentNode, Preferences childNode)
parentNode - The source preference node from which a subnode was
added or removedchildNode - The preference node that was added or removedpublic Preferences getParent()
public Preferences getChild()
event.getChild().nodeExists("").