org.argouml.uml.ui
Class UMLReflectionBooleanProperty

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

public class UMLReflectionBooleanProperty
extends UMLBooleanProperty


Field Summary
protected static org.apache.log4j.Category cat
           
 
Constructor Summary
UMLReflectionBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod)
          Creates new BooleanChangeListener
 
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

cat

protected static org.apache.log4j.Category cat
Constructor Detail

UMLReflectionBooleanProperty

public UMLReflectionBooleanProperty(java.lang.String propertyName,
                                    java.lang.Class elementClass,
                                    java.lang.String getMethod,
                                    java.lang.String setMethod)
Creates new BooleanChangeListener
Method Detail

setProperty

public void setProperty(java.lang.Object element,
                        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 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