|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.commanddispatcher.CommandTargetManager
A CommandTargetManager manages a set of CommandSources and a set of CommandGroups, and figure out the wiring from the CommandSources to the CommandTargets within the CommandGroups. The CommandGroups can be dynamically added and removed from the CommandTargetManager, as sets of commands become available or not.
Constructor Summary | |
CommandTargetManager()
|
Method Summary | |
void |
add(CommandGroup group)
|
void |
add(CommandSource source)
|
void |
dump(PrintStream out)
Dump the state of the manager for debug purposes |
void |
handleCommandError(Throwable x)
Override this method to provide custom handling of errors generated during command processing. |
void |
remove(CommandGroup group)
|
void |
remove(CommandSource source)
|
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandTargetManager()
Method Detail |
public void add(CommandGroup group)
public void add(CommandSource source)
public void handleCommandError(Throwable x)
public void remove(CommandGroup group)
public void remove(CommandSource source)
public void start()
public void dump(PrintStream out)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |