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
acceptCommand
public CommandTarget acceptCommand(String command)
addObserver
public void addObserver(Observer observer)
deleteObserver
public void deleteObserver(Observer observer)
setManager
public void setManager(CommandTargetManager manager)
Copyright © 2000-2003 FreeHEP, All Rights Reserved.