org.argouml.uml.diagram.ui
Class RadioAction

java.lang.Object
  extended by AbstractButtonAction
      extended by 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)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
           
 javax.swing.Action getAction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioAction

public RadioAction(javax.swing.Action action)
Parameters:
action - the action
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)

getAction

public javax.swing.Action getAction()
Returns:
the action


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook