org.argouml.uml.ui
Class UMLEnumerationBooleanProperty

java.lang.Object
  extended byorg.argouml.uml.ui.UMLBooleanProperty
      extended byorg.argouml.uml.ui.UMLEnumerationBooleanProperty

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 UMLEnumerationBooleanProperty
extends UMLBooleanProperty


Field Summary
private  java.lang.Object _enumClass
          Deprecated.  
private  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  java.lang.Object[] _trueArg
          Deprecated.  
private  AbstractWellformednessRule[] _wellformednessRules
          Deprecated. wellformednessRules are rules that should be hold true if the property is set they are defined in the model helpers (CoreHelper etc) and conform to the wellformednessRules defined in the UML 1.3 spec They are of the form: wellformednessRule(modelelement, newvalue)
static org.apache.log4j.Logger logger
          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
cat
 
Constructor Summary
UMLEnumerationBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod, java.lang.Object enumClass, java.lang.Object trueValue, java.lang.Object falseValue)
          Deprecated. Creates new BooleanChangeListener
UMLEnumerationBooleanProperty(java.lang.String propertyName, java.lang.Class elementClass, java.lang.String getMethod, java.lang.String setMethod, java.lang.Object enumClass, java.lang.Object trueValue, java.lang.Object falseValue, AbstractWellformednessRule[] wellformednessRules)
          Deprecated.  
 
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

_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 java.lang.Object[] _trueArg
Deprecated. 

_falseArg

private java.lang.Object[] _falseArg
Deprecated. 

_enumClass

private java.lang.Object _enumClass
Deprecated. 

logger

public static org.apache.log4j.Logger logger
Deprecated. by Linus Tolke as of 0.15.4. Use your own logger in your class. This will be removed.

Log4j logging category.


_wellformednessRules

private AbstractWellformednessRule[] _wellformednessRules
Deprecated. 
wellformednessRules are rules that should be hold true if the property is set they are defined in the model helpers (CoreHelper etc) and conform to the wellformednessRules defined in the UML 1.3 spec They are of the form: wellformednessRule(modelelement, newvalue)

Constructor Detail

UMLEnumerationBooleanProperty

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


UMLEnumerationBooleanProperty

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

setProperty

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

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 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook