org.argouml.uml.diagram.ui
Class RadioAction
java.lang.Object
AbstractButtonAction
org.argouml.uml.diagram.ui.RadioAction
public class RadioAction
- extends 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.
|
Constructor Summary |
RadioAction(javax.swing.Action action)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioAction
public RadioAction(javax.swing.Action action)
- Parameters:
action - the action
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
getAction
public javax.swing.Action getAction()
- Returns:
- the action