org.argouml.uml.ui
Class UMLEnumerationBooleanProperty

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

public class UMLEnumerationBooleanProperty
extends UMLBooleanProperty


Field Summary
static org.apache.log4j.Category logger
          Log4j logging category.
 
Fields inherited from class org.argouml.uml.ui.UMLBooleanProperty
cat
 
Constructor Summary
UMLEnumerationBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod, java.lang.Class enumClass, java.lang.Object trueValue, java.lang.Object falseValue)
          Creates new BooleanChangeListener
UMLEnumerationBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod, java.lang.Class enumClass, java.lang.Object trueValue, java.lang.Object falseValue, AbstractWellformednessRule[] wellformednessRules)
           
 
Method Summary
 boolean getProperty(java.lang.Object element)
          Retreives current state of property.
 void setProperty(java.lang.Object element, 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
 

Field Detail

logger

public static org.apache.log4j.Category logger
Log4j logging category.
Constructor Detail

UMLEnumerationBooleanProperty

public UMLEnumerationBooleanProperty(java.lang.String propertyName,
                                     java.lang.Class elementClass,
                                     java.lang.String getMethod,
                                     java.lang.String setMethod,
                                     java.lang.Class enumClass,
                                     java.lang.Object trueValue,
                                     java.lang.Object falseValue)
Creates new BooleanChangeListener

UMLEnumerationBooleanProperty

public UMLEnumerationBooleanProperty(java.lang.String propertyName,
                                     java.lang.Class elementClass,
                                     java.lang.String getMethod,
                                     java.lang.String setMethod,
                                     java.lang.Class enumClass,
                                     java.lang.Object trueValue,
                                     java.lang.Object falseValue,
                                     AbstractWellformednessRule[] wellformednessRules)
Method Detail

setProperty

public void setProperty(java.lang.Object element,
                        boolean newState)
                 throws java.beans.PropertyVetoException
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 element)
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