|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.commanddispatcher.CommandProcessor.BooleanTarget
Boolean target is an implementation of CommandTarget for command targets which can be swithced on/off. (Typically corresponding to JCheckBoxMenuItem or JRadioButtonMenuItem).
Method Summary | |
void |
doCommand(boolean arg)
|
void |
enable(CommandState state)
Called to determine if CommandTarget is enabled or disabled. |
CommandGroup |
getGroup()
Gets the CommandGroup associated with this CommandTarget. |
void |
invoke(boolean arg)
Called when the on/off state changes (i.e. when the comamnd is invoked). |
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(boolean arg) throws CommandInvocationException
CommandInvocationException
public void enable(CommandState state)
CommandTarget
enable
in interface CommandTarget
public void invoke(boolean arg)
BooleanCommandTarget
invoke
in interface BooleanCommandTarget
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |