org.argouml.uml.ui
Class ActionSetMultiplicity
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.ActionSetMultiplicity
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- ActionSetAssociationEndMultiplicity, ActionSetClassifierRoleMultiplicity, ActionSetStructuralFeatureMultiplicity
- public abstract class ActionSetMultiplicity
- extends UMLAction
Framework action to set the multiplicity of some modelelement.
- Since:
- Jan 6, 2003
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent e)
Perform the work the action is supposed to do. |
abstract void |
setSelectedItem(Object item,
Object target)
The user should implement this method to set the multiplicity (the given
item) for the target of the comboboxmodel (target |
ActionSetMultiplicity
protected ActionSetMultiplicity()
- Constructor for ActionSetMultiplicity.
actionPerformed
public void actionPerformed(ActionEvent e)
- 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)
setSelectedItem
public abstract void setSelectedItem(Object item,
Object target)
- The user should implement this method to set the multiplicity (the given
item) for the target of the comboboxmodel (target
- Parameters:
item
- The multiplicity that should be settarget
- The target of the comboboxmodel (the modelelement that
should have its multiplicity set).