public class NodeChangeEvent extends EventObject
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.
Preferences,
NodeChangeListener,
PreferenceChangeEvent
source| Constructor and Description |
|---|
NodeChangeEvent(Preferences
Constructs a new
NodeChangeEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
Preferences |
getChild()
Returns the node that was added or removed.
|
Preferences |
getParent()
Returns the parent of the node that was added or removed.
|
getSource, toStringpublic NodeChangeEvent(Preferencesparent, Preferences child)
NodeChangeEvent instance.
parent - The parent of the node that was added or removed.
child - The node that was added or removed.
public PreferencesgetParent()
public PreferencesgetChild()