FreeHEP API
Version v1.2

org.freehep.util.commanddispatcher
Interface CommandTarget

All Known Subinterfaces:
BooleanCommandTarget, SimpleCommandTarget
All Known Implementing Classes:
CommandProcessor.BooleanTarget, CommandProcessor.SimpleTarget

public interface CommandTarget

A CommandTarget represents a single action that will be performed as a result of a command being issued. CommandTargets can be enabled or disabled. A set of CommandTargets are typically grouped together into a CommandProcessor.

Version:
$Id:
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Method Summary
 void enable(CommandState state)
          Called to determine if CommandTarget is enabled or disabled.
 CommandGroup getGroup()
          Gets the CommandGroup associated with this CommandTarget.
 

Method Detail

getGroup

public CommandGroup getGroup()
Gets the CommandGroup associated with this CommandTarget.


enable

public void enable(CommandState state)
Called to determine if CommandTarget is enabled or disabled.


FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.