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 parent,
Preferences child)
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, toString
public NodeChangeEvent(Preferences parent, Preferences child)
NodeChangeEvent
instance.parent
- The parent of the node that was added or removed.child
- The node that was added or removed.public Preferences getParent()
public Preferences getChild()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.