FreeHEP API
Version v1.1

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.
 CommandProcessor getProcessor()
          Gets the CommandProcessor associated with this CommandTarget.
 

Method Detail

enable

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


getProcessor

public CommandProcessor getProcessor()
Gets the CommandProcessor associated with this CommandTarget.


FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.