org.argouml.uml.ui
Class UMLBooleanProperty

java.lang.Object
  extended byorg.argouml.uml.ui.UMLBooleanProperty
Direct Known Subclasses:
UMLEnumerationBooleanProperty, UMLReflectionBooleanProperty, UMLTaggedBooleanProperty

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

public abstract class UMLBooleanProperty
extends java.lang.Object

This abstract base class is used to define derived classes that interact with the UMLRadioButton and UMLCheckBox user interface components.


Field Summary
protected static org.apache.log4j.Category cat
          Deprecated.  
 
Constructor Summary
UMLBooleanProperty(java.lang.String propertyName)
          Deprecated. Creates new UMLBooleanProperty
 
Method Summary
abstract  boolean getProperty(java.lang.Object element)
          Deprecated. Retreives current state of property.
 java.lang.String getPropertyName()
          Deprecated.  
 boolean isAffected(ru.novosoft.uml.MElementEvent event)
          Deprecated. Returns true if a specific NSUML event should have an affect on this property.
abstract  void setProperty(java.lang.Object element, boolean newState)
          Deprecated. Sets property on element.
 
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
Deprecated. 
Constructor Detail

UMLBooleanProperty

public UMLBooleanProperty(java.lang.String propertyName)
Deprecated. 
Creates new UMLBooleanProperty

Parameters:
propertyName - name of property monitored, null will cause component to be updated on any change to monitored model element.
Method Detail

setProperty

public abstract void setProperty(java.lang.Object element,
                                 boolean newState)
                          throws java.beans.PropertyVetoException
Deprecated. 
Sets property on element.

Parameters:
element - Element whose property will be changed.
newState - new state of property.
Throws:
java.beans.PropertyVetoException

getProperty

public abstract boolean getProperty(java.lang.Object element)
Deprecated. 
Retreives current state of property.

Parameters:
element - Elements whose property will be retrieved.
Returns:
current state of property.

isAffected

public boolean isAffected(ru.novosoft.uml.MElementEvent event)
Deprecated. 
Returns true if a specific NSUML event should have an affect on this property.

Parameters:
event - NSUML event
Returns:
returns true if property may have been affected by change.

getPropertyName

public java.lang.String getPropertyName()
Deprecated. 


ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook