|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.swing.commands.CommandRegistry
public final class CommandRegistry
Registry of view to group mappings for commands.
| Constructor Summary | |
|---|---|
CommandRegistry()
|
|
| Method Summary | |
|---|---|
static String |
getDisplayName(Command command)
Return the name that should be displayed for a command, taking into account whether the command is interactive. |
static String |
getGroupInView(String view,
Command command)
|
static char |
getMenuMnemonic(String menuName)
Get the default mnemonic that should be used for menu titles. |
static String |
getShortName(Command command)
Get the short version of a command name eg 'file.Open' becomes 'Open'. |
static String[] |
splitGroup(String group)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandRegistry()
| Method Detail |
|---|
public static String getGroupInView(String view,
Command command)
public static String[] splitGroup(String group)
public static String getDisplayName(Command command)
command - The command.
public static String getShortName(Command command)
public static char getMenuMnemonic(String menuName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||