FreeHEP API
Version current

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)
Source Code:
CommandTarget.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.