org.argouml.uml.diagram.ui
Class RadioAction
java.lang.Object
javax.swing.AbstractAction
org.tigris.toolbar.toolbutton.AbstractButtonAction
org.argouml.uml.diagram.ui.RadioAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, org.tigris.toolbar.toolbutton.ModalAction, Serializable
- public class RadioAction
- extends org.tigris.toolbar.toolbutton.AbstractButtonAction
A wrapper around a standard action to indicate that any buttons created
from this actions should act like radio buttons, i.e. that when the
toolbar buttons are double-clicked, they remain active, and every click
on the diagram will place a new modelelement.
- See Also:
- Serialized Form
Fields inherited from class org.tigris.toolbar.toolbutton.AbstractButtonAction |
|
Methods inherited from class org.tigris.toolbar.toolbutton.AbstractButtonAction |
getIcon, getName, isDoubleClick |
realAction
private Action realAction
RadioAction
public RadioAction(Action action)
- Parameters:
action
- the action
actionPerformed
public void actionPerformed(ActionEvent actionEvent)
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
getAction
public Action getAction()
- Returns:
- the action