|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.freehep.util.commanddispatcher.CommandProcessor.SimpleTarget
protected class CommandProcessor.SimpleTarget
A SimpleTarget is an implementation of CommandTarget
| Method Summary | |
|---|---|
void |
doCommand()
|
void |
enable(CommandState state)
Called to determine if CommandTarget is enabled or disabled. |
CommandGroup |
getGroup()
Gets the CommandGroup associated with this CommandTarget. |
void |
invoke()
The invoke method is called to actually perform the command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CommandGroup getGroup()
CommandTarget
getGroup in interface CommandTarget
public void doCommand()
throws CommandInvocationException
CommandInvocationExceptionpublic void enable(CommandState state)
CommandTarget
enable in interface CommandTargetpublic void invoke()
SimpleCommandTarget
invoke in interface SimpleCommandTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||