org.progeeks.util.beans
Class PropertyPath.PropertyReference

java.lang.Object
  extended by org.progeeks.util.beans.PropertyPath.PropertyReference
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, PropertyPath.PathReference
Enclosing class:
PropertyPath

protected class PropertyPath.PropertyReference
extends java.lang.Object
implements PropertyPath.PathReference, java.beans.PropertyChangeListener

Object used to supply the field information for a given object. These are the worker side objects to the PropertyElements.


Constructor Summary
PropertyPath.PropertyReference(java.lang.String name, java.lang.Object bean)
           
 
Method Summary
 java.lang.Object getValue()
          Returns the value of this reference.
 void propertyChange(java.beans.PropertyChangeEvent event)
          When the internal bean has change support, this method is called when this reference's value changes.
 void release()
          Releases any listeners this reference may have registered.
 void setValue(java.lang.Object value)
          Sets the value of this reference.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyPath.PropertyReference

public PropertyPath.PropertyReference(java.lang.String name,
                                      java.lang.Object bean)
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
When the internal bean has change support, this method is called when this reference's value changes.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener

release

public void release()
Releases any listeners this reference may have registered.

Specified by:
release in interface PropertyPath.PathReference

getValue

public java.lang.Object getValue()
Returns the value of this reference.

Specified by:
getValue in interface PropertyPath.PathReference

setValue

public void setValue(java.lang.Object value)
Sets the value of this reference.

Specified by:
setValue in interface PropertyPath.PathReference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2003 Paul Speed. All Rights Reserved.