FreeHEP API
Version current

org.freehep.util.commanddispatcher
Interface CommandGroup

All Known Implementing Classes:
CommandProcessor

public interface CommandGroup

A CommandGroup represents a collection of CommandTargets. The CommandGroup is Observable, and is normally Observed by the CommandTargetManager. When the CommandGroup calls its notifies its observers, the CommandTargetManager prompts each CommandSource currently attached to CommandTargets within the CommandGroup to update their enabled/disabled status.

Version:
$Id: CommandGroup.java,v 1.1 2003/05/14 17:53:08 tonyj Exp $
Author:
tonyj
Source Code:
CommandGroup.java

Method Summary
 CommandTarget acceptCommand(String command)
           
 void addObserver(Observer observer)
           
 void deleteObserver(Observer observer)
           
 void setManager(CommandTargetManager manager)
           
 

Method Detail

acceptCommand

public CommandTarget acceptCommand(String command)

addObserver

public void addObserver(Observer observer)

deleteObserver

public void deleteObserver(Observer observer)

setManager

public void setManager(CommandTargetManager manager)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.