public class ConfigurationNodeEvent<P extends ParseContext<P>> extends EventObject
ConfigurationNode.source| 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.
|
toStringpublic 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 EventObjectCopyright © 2023. All rights reserved.