org.argouml.uml.ui
Class UMLReflectionBooleanProperty

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

Deprecated. as of ArgoUml 0.13.5 (10-may-2003), TODO: What is this replaced by?, this class is part of the 'old'(pre 0.13.*) implementation of proppanels that used reflection a lot.

public class UMLReflectionBooleanProperty
extends UMLBooleanProperty


Field Summary
private static java.lang.Object[] _falseArg
          Deprecated.  
private  java.lang.reflect.Method _getMethod
          Deprecated.  
private static java.lang.Object[] _noArg
          Deprecated.  
private  java.lang.reflect.Method _setMethod
          Deprecated.  
private static java.lang.Object[] _trueArg
          Deprecated.  
protected static Logger cat
          Deprecated. by Linus Tolke as of 0.15.4. Use your own logger in your class. This will be removed.
 
Fields inherited from class org.argouml.uml.ui.UMLBooleanProperty
 
Constructor Summary
UMLReflectionBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod)
          Deprecated. Creates new BooleanChangeListener.
 
Method Summary
 boolean getProperty(java.lang.Object element)
          Deprecated. Retreives current state of property.
 void setProperty(java.lang.Object element, boolean newState)
          Deprecated. 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 Logger cat
Deprecated. by Linus Tolke as of 0.15.4. Use your own logger in your class. This will be removed.


_getMethod

private java.lang.reflect.Method _getMethod
Deprecated. 

_setMethod

private java.lang.reflect.Method _setMethod
Deprecated. 

_noArg

private static final java.lang.Object[] _noArg
Deprecated. 

_trueArg

private static final java.lang.Object[] _trueArg
Deprecated. 

_falseArg

private static final java.lang.Object[] _falseArg
Deprecated. 
Constructor Detail

UMLReflectionBooleanProperty

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

Method Detail

setProperty

public void setProperty(java.lang.Object element,
                        boolean newState)
Deprecated. 
Description copied from class: UMLBooleanProperty
Sets property on element.

Specified by:
setProperty in class UMLBooleanProperty
Parameters:
element - Element whose property will be changed.
newState - new state of property.

getProperty

public boolean getProperty(java.lang.Object element)
Deprecated. 
Description copied from class: UMLBooleanProperty
Retreives current state of property.

Specified by:
getProperty in class UMLBooleanProperty
Parameters:
element - Elements whose property will be retrieved.
Returns:
current state of property.


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook