FreeHEP API
Version current

org.freehep.util.commanddispatcher
Interface BooleanCommandTarget

All Superinterfaces:
CommandTarget
All Known Implementing Classes:
CommandProcessor.BooleanTarget

public interface BooleanCommandTarget
extends CommandTarget

A boolean command target is a CommandTarget which corresponds to a command which may have an on/off state associated with it.

Version:
$Id: BooleanCommandTarget.java,v 1.4 2003/05/14 17:53:08 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
See Also:
SimpleCommandTarget, CommandTarget
Source Code:
BooleanCommandTarget.java

Method Summary
 void invoke(boolean onOff)
          Called when the on/off state changes (i.e. when the comamnd is invoked).
 
Methods inherited from interface org.freehep.util.commanddispatcher.CommandTarget
enable, getGroup
 

Method Detail

invoke

public void invoke(boolean onOff)
Called when the on/off state changes (i.e. when the comamnd is invoked).


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.