org.oddjob.arooa.runtime
Class ConfigurationNodeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.oddjob.arooa.runtime.ConfigurationNodeEvent
All Implemented Interfaces:
Serializable

public class ConfigurationNodeEvent
extends EventObject

An Event for changes in the structure of a ConfigurationNode.

See Also:
Serialized Form
Author:
rob

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConfigurationNodeEvent(ConfigurationNode source, int index, ConfigurationNode child)
          Constructor.
 
Method Summary
 ConfigurationNode getChild()
          Get the child that changed.
 int getIndex()
          Get the index of the change.
 ConfigurationNode getSource()
          Get the source of the change.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationNodeEvent

public ConfigurationNodeEvent(ConfigurationNode source,
                              int index,
                              ConfigurationNode child)
Constructor.

Parameters:
source -
index -
child -
Method Detail

getIndex

public int getIndex()
Get the index of the change.

Returns:

getChild

public ConfigurationNode getChild()
Get the child that changed.

Returns:

getSource

public ConfigurationNode getSource()
Get the source of the change.

Overrides:
getSource in class EventObject
Returns:
The ConfigurationChange that is the source of the change.