org.argouml.uml.ui
Class ActionBooleanTaggedValue

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.ui.ActionBooleanTaggedValue

public class ActionBooleanTaggedValue
extends UndoableAction

An action which can be used to create arbitrary tagged values which hold boolean data. It is designed (and implicitly) relies on a UMLCheckBox2.

See Also:
UMLCheckBox2

Constructor Summary
ActionBooleanTaggedValue(java.lang.String theTagName)
          The constructor takes the name of the tagged value as a string, which will hold boolean data.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          set the taggedvalue according to the condition of the checkbox.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionBooleanTaggedValue

public ActionBooleanTaggedValue(java.lang.String theTagName)
The constructor takes the name of the tagged value as a string, which will hold boolean data.

Parameters:
theTagName - the name of the taggedvalue containing boolean values.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
set the taggedvalue according to the condition of the checkbox. The taggedvalue will be created if not existing.

See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook