|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--Cmd
|
+--org.argouml.ui.cmd.CmdSetPreferredSize
A command to set selected figs to their preferred size or minimum size.
| Field Summary | |
|---|---|
private int |
_mode
|
static int |
MINIMUM_SIZE
constant for MINIMUM_SIZE |
static int |
PREFERRED_SIZE
constant for PREFERRED_SIZE |
| 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(Fig f)
set the fig to be resized |
void |
undoIt()
unsupported. |
protected static java.lang.String |
wordFor(int r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int PREFERRED_SIZE
public static final int MINIMUM_SIZE
private int _mode
| Constructor Detail |
public CmdSetPreferredSize(int mode)
mode - one of the defined constants| Method Detail |
protected static java.lang.String wordFor(int r)
public void setFigToResize(Fig f)
public void doIt()
public void undoIt()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |