|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rp.cmd.CommandFactory
Keeps track of all commands in the system and allocates them and related objects on demand.
Constructor Summary | |
CommandFactory()
|
Method Summary | |
static Command |
cloneCommand(Command proto)
Clone a command |
static Command |
get(java.lang.String cmdName)
Get a cloned Command object of the given name |
static javax.swing.Action |
getAction(java.lang.String cmdName)
Get a javax.swing.Action initialized appropriately to execute the named command when the action is triggerred |
static javax.swing.JMenuItem |
getMenuItem(java.lang.String cmdName)
Get a javax.swing.JMenuItem initialized appropriately to execute the named command when the menu is triggerred |
static void |
setEnabled(java.lang.String cmdName,
boolean enabled)
Set the global enables status of the named command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandFactory()
Method Detail |
public static Command cloneCommand(Command proto)
public static Command get(java.lang.String cmdName)
public static javax.swing.Action getAction(java.lang.String cmdName)
public static javax.swing.JMenuItem getMenuItem(java.lang.String cmdName)
public static void setEnabled(java.lang.String cmdName, boolean enabled)
|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |