org.argouml.uml.diagram.ui
Class ActionMultiplicity
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.diagram.ui.ActionMultiplicity
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionMultiplicity
- extends org.tigris.gef.undo.UndoableAction
Action to set the Multiplicity.
- See Also:
- Serialized Form
ActionMultiplicity
protected ActionMultiplicity(String m,
String s)
- The Constructor.
- Parameters:
m - the multiplicitys - "src" or "dest". Anything else is interpreted as "dest".
actionPerformed
public void actionPerformed(ActionEvent ae)
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
isEnabled
public boolean isEnabled()
- Returns:
- true if the action is enabled
- See Also:
AbstractAction.isEnabled()
getSrcMultOne
public static org.tigris.gef.undo.UndoableAction getSrcMultOne()
- Returns:
- Returns the srcMultOne.
getDestMultOne
public static org.tigris.gef.undo.UndoableAction getDestMultOne()
- Returns:
- Returns the destMultOne.
getSrcMultZeroToOne
public static org.tigris.gef.undo.UndoableAction getSrcMultZeroToOne()
- Returns:
- Returns the srcMultZeroToOne.
getDestMultZeroToOne
public static org.tigris.gef.undo.UndoableAction getDestMultZeroToOne()
- Returns:
- Returns the destMultZeroToOne.
getSrcMultZeroToMany
public static org.tigris.gef.undo.UndoableAction getSrcMultZeroToMany()
- Returns:
- Returns the srcMultZeroToMany.
getDestMultZeroToMany
public static org.tigris.gef.undo.UndoableAction getDestMultZeroToMany()
- Returns:
- Returns the destMultZeroToMany.
getSrcMultOneToMany
public static org.tigris.gef.undo.UndoableAction getSrcMultOneToMany()
- Returns:
- Returns the srcMultOneToMany.
getDestMultOneToMany
public static org.tigris.gef.undo.UndoableAction getDestMultOneToMany()
- Returns:
- Returns the destMultOneToMany.