com.virtuosotechnologies.lib.command
Class CommandNodeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.virtuosotechnologies.lib.command.CommandNodeEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AllChildrenRemovedEvent, ChildAddedEvent, ChildRemovedEvent

public class CommandNodeEvent
extends EventObject

An event describing a structural change to the command graph.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CommandNodeEvent(CommandNode parent)
          Constructor.
 
Method Summary
 CommandNode getParentNode()
          Get the parent command node (also the event source)
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandNodeEvent

public CommandNodeEvent(CommandNode parent)
Constructor.

Parameters:
parent - the CommandNode whose children have changed
Method Detail

getParentNode

public final CommandNode getParentNode()
Get the parent command node (also the event source)

Returns:
the CommandNode whose children have changed