jas.util
Class CommandProcessor.BooleanTarget

java.lang.Object
  |
  +--jas.util.CommandProcessor.BooleanTarget
All Implemented Interfaces:
BooleanCommandTarget, CommandTarget
Enclosing class:
CommandProcessor

protected class CommandProcessor.BooleanTarget
extends java.lang.Object
implements BooleanCommandTarget


Method Summary
 void doCommand(boolean arg)
           
 void enable(JASState state)
          Called to determine if CommandTarget is enabled or disabled.
 CommandProcessor getProcessor()
          Gets the CommandProcessor associated with this CommandTarget.
 void invoke(boolean arg)
          Called when the on/off state changes (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public void invoke(boolean arg)
Description copied from interface: BooleanCommandTarget
Called when the on/off state changes (i.e. when the comamnd is invoked)
Specified by:
invoke in interface BooleanCommandTarget

enable

public void enable(JASState state)
Description copied from interface: CommandTarget
Called to determine if CommandTarget is enabled or disabled.
Specified by:
enable in interface CommandTarget

doCommand

public void doCommand(boolean arg)
               throws CommandInvocationException

getProcessor

public CommandProcessor getProcessor()
Description copied from interface: CommandTarget
Gets the CommandProcessor associated with this CommandTarget.
Specified by:
getProcessor in interface CommandTarget