|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.pietschy.command.CommandContainerEvent
public class CommandContainerEvent
The event object use by CommandContainerListeners.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CommandContainerEvent(CommandContainer source)
Creates a new instance with the specified source container. |
|
CommandContainerEvent(CommandContainer source,
Command command)
Creates a new instance with the specified source container that involves the specified command. |
|
| Method Summary | |
|---|---|
Command |
getCommand()
Gets the command that was the subject of this event, or null if
the event is not related to a command. |
CommandContainer |
getContainer()
Gets the container that generated the event. |
CommandContainer |
getSource()
Gets the container that generated the event. |
| 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 |
|---|
public CommandContainerEvent(CommandContainer source)
source - the container that fired the event.
public CommandContainerEvent(CommandContainer source,
Command command)
source - the container that fired the event.command - the command that is the subject of this event.| Method Detail |
|---|
public CommandContainer getSource()
getSource in class java.util.EventObjectpublic CommandContainer getContainer()
public Command getCommand()
null if
the event is not related to a command.
null if
the event is not related to a command.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||