|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.tigris.gef.base.Cmd
org.tigris.gef.base.CmdSetMode
org.argouml.ui.CmdSetMode
Extends GEF CmdSetMode to add additional metadata such as tooltips.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private static String |
ACTION_PREFIX_KEY
|
Fields inherited from class org.tigris.gef.base.CmdSetMode |
_modeArgs |
Fields inherited from class org.tigris.gef.base.Cmd |
_args, _resource |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
CmdSetMode(Class modeClass)
The constructor. |
|
CmdSetMode(Class modeClass,
boolean sticky)
The constructor. |
|
CmdSetMode(Class modeClass,
Hashtable modeArgs)
The constructor. |
|
CmdSetMode(Class modeClass,
Hashtable modeArgs,
String name)
The constructor. |
|
CmdSetMode(Class modeClass,
String name)
The constructor. |
|
CmdSetMode(Class modeClass,
String arg,
Object value)
The constructor. |
|
CmdSetMode(Class modeClass,
String arg,
Object value,
String name)
The constructor. |
|
CmdSetMode(Class modeClass,
String arg,
Object value,
String name,
ImageIcon icon)
The constructor. |
|
CmdSetMode(Class modeClass,
String name,
String tooltip)
The constructor. |
|
CmdSetMode(Properties args)
The constructor. |
Method Summary | |
private void |
putToolTip(String name)
Adds tooltip text to the Action. |
Methods inherited from class org.tigris.gef.base.CmdSetMode |
doIt, undoIt |
Methods inherited from class org.tigris.gef.base.Cmd |
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String ACTION_PREFIX_KEY
Constructor Detail |
public CmdSetMode(Properties args)
args
- argumentspublic CmdSetMode(Class modeClass)
modeClass
- the next global editor modepublic CmdSetMode(Class modeClass, String name)
modeClass
- the next global editor modename
- the name of the command = tooltip textpublic CmdSetMode(Class modeClass, String name, String tooltip)
modeClass
- the next global editor modename
- the to be localized name of the commandtooltip
- the tooltip textpublic CmdSetMode(Class modeClass, boolean sticky)
modeClass
- the next global editor modesticky
- the global sticky mode boolean allows the user
to place several nodes rapidly (in succession)public CmdSetMode(Class modeClass, Hashtable modeArgs)
modeClass
- the next global editor modemodeArgs
- arguments for the new modepublic CmdSetMode(Class modeClass, Hashtable modeArgs, String name)
modeClass
- the next global editor modemodeArgs
- arguments for the new modename
- the name of the command = tooltip textpublic CmdSetMode(Class modeClass, String arg, Object value)
modeClass
- the next global editor modearg
- the name of a new argument for the new modevalue
- the value of a new argument for the new modepublic CmdSetMode(Class modeClass, String arg, Object value, String name)
modeClass
- the next global editor modearg
- the name of a new argument for the new modevalue
- the value of a new argument for the new modename
- the name of the command = tooltip textpublic CmdSetMode(Class modeClass, String arg, Object value, String name, ImageIcon icon)
modeClass
- the next global editor modearg
- the name of a new argument for the new modevalue
- the value of a new argument for the new modename
- the name of the command = tooltip texticon
- the SMALL_ICON for the actionMethod Detail |
private void putToolTip(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |