com.virtuosotechnologies.lib.command
Class CommandNodeEvent
java.lang.Object
java.util.EventObject
com.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
CommandNodeEvent
public CommandNodeEvent(CommandNode parent)
- Constructor.
- Parameters:
parent
- the CommandNode whose children have changed
getParentNode
public final CommandNode getParentNode()
- Get the parent command node (also the event source)
- Returns:
- the CommandNode whose children have changed