org.argouml.uml.ui
Class UMLTaggedBooleanProperty

java.lang.Object
  |
  +--org.argouml.uml.ui.UMLBooleanProperty
        |
        +--org.argouml.uml.ui.UMLTaggedBooleanProperty

public class UMLTaggedBooleanProperty
extends UMLBooleanProperty

An UMLTaggedBooleanProperty is a property which maintains a tagged value as a boolean field. It is e.g. used to work with UMLCheckbox.


Fields inherited from class org.argouml.uml.ui.UMLBooleanProperty
cat
 
Constructor Summary
UMLTaggedBooleanProperty(java.lang.String tagName)
          Creates new BooleanChangeListener
 
Method Summary
 boolean getProperty(java.lang.Object obj)
          Retreives current state of property.
 void setProperty(java.lang.Object obj, boolean newState)
          Sets property on element.
 
Methods inherited from class org.argouml.uml.ui.UMLBooleanProperty
getPropertyName, isAffected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLTaggedBooleanProperty

public UMLTaggedBooleanProperty(java.lang.String tagName)
Creates new BooleanChangeListener
Method Detail

setProperty

public void setProperty(java.lang.Object obj,
                        boolean newState)
Description copied from class: UMLBooleanProperty
Sets property on element.
Overrides:
setProperty in class UMLBooleanProperty
Following copied from class: org.argouml.uml.ui.UMLBooleanProperty
Parameters:
element - Element whose property will be changed.
newState - new state of property.

getProperty

public boolean getProperty(java.lang.Object obj)
Description copied from class: UMLBooleanProperty
Retreives current state of property.
Overrides:
getProperty in class UMLBooleanProperty
Following copied from class: org.argouml.uml.ui.UMLBooleanProperty
Parameters:
element - Elements whose property will be retrieved.
Returns:
current state of property.


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook