|
|||||||||||
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.argouml.ui.cmd.CmdSetPreferredSize
A command to set selected figs to their preferred size or minimum size.
Field Summary | |
static int |
MINIMUM_SIZE
constant for MINIMUM_SIZE |
static int |
PREFERRED_SIZE
constant for PREFERRED_SIZE |
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 | |
CmdSetPreferredSize(int mode)
Constructor for the command. |
Method Summary | |
void |
doIt()
set all the figs in the selection or passed by param "figs" to the size according to the mode of the command. |
void |
setFigToResize(org.tigris.gef.presentation.Fig f)
set the fig to be resized |
void |
setFigToResize(java.util.Vector figs)
set the figs to be resized |
void |
undoIt()
unsupported. |
protected static java.lang.String |
wordFor(int r)
|
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 |
public static final int PREFERRED_SIZE
public static final int MINIMUM_SIZE
Constructor Detail |
public CmdSetPreferredSize(int mode)
mode
- one of the defined constantsMethod Detail |
protected static java.lang.String wordFor(int r)
public void setFigToResize(org.tigris.gef.presentation.Fig f)
public void setFigToResize(java.util.Vector figs)
public void doIt()
public void undoIt()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030829) | ArgoUML Project Home | ArgoUML Cookbook |