org.argouml.ui
Class ActionAutoResize
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.ActionAutoResize
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionAutoResize
- extends UMLAction
A class to keep track of the users desire to have his diagram nodes
automatically resized.
- See Also:
CmdSetPreferredSize
,
Serialized Form
autoResize
private static boolean autoResize
ActionAutoResize
public ActionAutoResize()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- Description copied from class:
UMLAction
- Perform the work the action is supposed to do.
This method needs to be overridden by all actions,
since it only shows a fake progressbar...
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class UMLAction
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
isAutoResizable
public static boolean isAutoResizable()
- Accessor to determine whether the nodes should be resized or not.
- See Also:
org.argouml.uml.diagram.ui.FigNodeModelElement#modelChanged(MElementEvent)