public class ConfigurationNodeEvent<P extends ParseContext<P>>
extends java.util.EventObject
ConfigurationNode
.Constructor and Description |
---|
ConfigurationNodeEvent(ConfigurationNode<P> source,
int index,
ConfigurationNode<P> child)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationNode<P> |
getChild()
Get the child that changed.
|
int |
getIndex()
Get the index of the change.
|
ConfigurationNode<P> |
getSource()
Get the source of the change.
|
public ConfigurationNodeEvent(ConfigurationNode<P> source, int index, ConfigurationNode<P> child)
source
- The source of the event. Never null.index
- The index of the child being inserted/removed.child
- The child being inserted or removed. Never null.public int getIndex()
public ConfigurationNode<P> getChild()
public ConfigurationNode<P> getSource()
getSource
in class java.util.EventObject