A B C D E G H I O R S T U

A

acceptCommand(String) - Method in interface org.freehep.util.commanddispatcher.CommandGroup
 
acceptCommand(String) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
The CommandTargetManager calls acceptCommand to find out if this CommandProcessor can respond to the specified command.
acceptCommand(Class, String) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
Uses reflection to check if the specified class has an "on" or "enable" method for this comamnd.
actionPerformed(ActionEvent) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
add(CommandGroup) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
 
add(CommandSource) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
 
addObserver(Observer) - Method in interface org.freehep.util.commanddispatcher.CommandGroup
 

B

BooleanCommandState - Interface in org.freehep.util.commanddispatcher
An interface representing the state of a CommandTarget that has a selected/unselected state in addition to enabled/disabled.
BooleanCommandTarget - Interface in org.freehep.util.commanddispatcher
A boolean command target is a CommandTarget which corresponds to a command which may have an on/off state associated with it.

C

clearTarget() - Method in interface org.freehep.util.commanddispatcher.CommandSource
Clears the CommandTarget associated with the CommandSource
clearTarget() - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
CommandGroup - Interface in org.freehep.util.commanddispatcher
A CommandGroup represents a collection of CommandTargets.
CommandInvocationException - Exception in org.freehep.util.commanddispatcher
Thrown when a command invoked via reflection throws an exception.
CommandProcessor - Class in org.freehep.util.commanddispatcher
A default implementation of CommandGroup.
CommandProcessor() - Constructor for class org.freehep.util.commanddispatcher.CommandProcessor
 
CommandProcessor.BooleanTarget - Class in org.freehep.util.commanddispatcher
Boolean target is an implementation of CommandTarget for command targets which can be swithced on/off.
CommandProcessor.SimpleTarget - Class in org.freehep.util.commanddispatcher
A SimpleTarget is an implementation of CommandTarget
CommandSource - Interface in org.freehep.util.commanddispatcher
A CommandSource represents a source of a command, such as a MenuItem or Toolbar Button.
CommandSourceAdapter - Class in org.freehep.util.commanddispatcher
A class which implements CommandSource and can be used to associate any AbstractButton with a command
CommandSourceAdapter(AbstractButton) - Constructor for class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
CommandState - Interface in org.freehep.util.commanddispatcher
An interface representing the state of a CommandTarget (enabled or disabled, text and tooltip text)
CommandTarget - Interface in org.freehep.util.commanddispatcher
A CommandTarget represents a single action that will be performed as a result of a command being issued.
CommandTargetManager - Class in org.freehep.util.commanddispatcher
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.
CommandTargetManager() - Constructor for class org.freehep.util.commanddispatcher.CommandTargetManager
 

D

deleteObserver(Observer) - Method in interface org.freehep.util.commanddispatcher.CommandGroup
 
doCommand(boolean) - Method in class org.freehep.util.commanddispatcher.CommandProcessor.BooleanTarget
 
doCommand() - Method in class org.freehep.util.commanddispatcher.CommandProcessor.SimpleTarget
 
dump(PrintStream) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
Dump the state of the manager for debug purposes

E

enable(CommandState) - Method in class org.freehep.util.commanddispatcher.CommandProcessor.BooleanTarget
 
enable(CommandState) - Method in class org.freehep.util.commanddispatcher.CommandProcessor.SimpleTarget
 
enable(CommandState) - Method in interface org.freehep.util.commanddispatcher.CommandTarget
Called to determine if CommandTarget is enabled or disabled.

G

getCommand() - Method in interface org.freehep.util.commanddispatcher.CommandSource
Returns the command associated with the CommandSource
getCommand() - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
getGroup() - Method in class org.freehep.util.commanddispatcher.CommandProcessor.BooleanTarget
 
getGroup() - Method in class org.freehep.util.commanddispatcher.CommandProcessor.SimpleTarget
 
getGroup() - Method in interface org.freehep.util.commanddispatcher.CommandTarget
Gets the CommandGroup associated with this CommandTarget.
getTarget() - Method in interface org.freehep.util.commanddispatcher.CommandSource
Returns the current CommandTarget, or null of there isnt a current command target
getTarget() - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
getTargetException() - Method in exception org.freehep.util.commanddispatcher.CommandInvocationException
 

H

handleCommandError(Throwable) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
Override this method to provide custom handling of errors generated during command processing.

I

invoke(boolean) - Method in interface org.freehep.util.commanddispatcher.BooleanCommandTarget
Called when the on/off state changes (i.e.
invoke(boolean) - Method in class org.freehep.util.commanddispatcher.CommandProcessor.BooleanTarget
 
invoke(Method, Object[]) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
 
invoke() - Method in class org.freehep.util.commanddispatcher.CommandProcessor.SimpleTarget
 
invoke() - Method in interface org.freehep.util.commanddispatcher.SimpleCommandTarget
The invoke method is called to actually perform the command.
invokeCommand(CommandProcessor.SimpleTarget) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
Override this method to provide application specific handling for errors generated during command dispatch
invokeCommand(CommandProcessor.BooleanTarget, boolean) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
Override this method to provide application specific handling for errors generated during command dispatch
invokeCommand(Method, Object[]) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
 
invokeEnable(Method, Object[]) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
 

O

org.freehep.util.commanddispatcher - package org.freehep.util.commanddispatcher
Dispatcher of commands in a complex application.

R

remove(CommandGroup) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
 
remove(CommandSource) - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
 

S

setChanged() - Method in class org.freehep.util.commanddispatcher.CommandProcessor
 
setEnabled(boolean) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
setEnabled(boolean) - Method in interface org.freehep.util.commanddispatcher.CommandState
 
setManager(CommandTargetManager) - Method in interface org.freehep.util.commanddispatcher.CommandGroup
 
setManager(CommandTargetManager) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
 
setSelected(boolean) - Method in interface org.freehep.util.commanddispatcher.BooleanCommandState
 
setSelected(boolean) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
setTarget(CommandTarget) - Method in interface org.freehep.util.commanddispatcher.CommandSource
Sets a CommandTarget associated with the CommandSource
setTarget(CommandTarget) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
setText(String) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
setText(String) - Method in interface org.freehep.util.commanddispatcher.CommandState
 
setToolTipText(String) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 
setToolTipText(String) - Method in interface org.freehep.util.commanddispatcher.CommandState
 
SimpleCommandTarget - Interface in org.freehep.util.commanddispatcher
A CommandTarget which does not have a selected/deselected state associated with it
start() - Method in class org.freehep.util.commanddispatcher.CommandTargetManager
 

T

translate(String) - Method in class org.freehep.util.commanddispatcher.CommandProcessor
Translates a command.

U

update(Observable, Object) - Method in class org.freehep.util.commanddispatcher.CommandSourceAdapter
 

A B C D E G H I O R S T U

Copyright © 2000-2006 FreeHEP. All Rights Reserved.