public class NodeChangeEvent extends EventObject implements Serializable
Please note that although the class is marked as Serializable by
inheritance from EventObject, this type is not intended to be serialized
so the serialization methods do nothing but throw a NotSerializableException.
Preferences,
NodeChangeListener,
Serialized Formsource| Constructor and Description |
|---|
NodeChangeEvent(Preferences p,
Preferences c)
Constructs a new
NodeChangeEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
Preferences |
getChild()
Gets the child
Preferences node that was added or removed. |
Preferences |
getParent()
Gets the
Preferences instance that fired this event. |
getSource, toStringpublic NodeChangeEvent(Preferences p, Preferences c)
NodeChangeEvent instance.p - the Preferences instance that fired this event; this object is
considered as the event source.c - the child Preferences instance that was added or deleted.public Preferences getParent()
Preferences instance that fired this event.Preferences instance that fired this event.public Preferences getChild()
Preferences node that was added or removed.Preferences node.