org.apache.tapestry.record
Class PropertyChangeImpl

java.lang.Object
  extended byorg.apache.tapestry.record.PropertyChangeImpl
All Implemented Interfaces:
PropertyChange

public class PropertyChangeImpl
extends java.lang.Object
implements PropertyChange

Represents a change to a component on a page.

Author:
Howard Lewis Ship

Constructor Summary
PropertyChangeImpl(java.lang.String componentPath, java.lang.String propertyName, java.lang.Object newValue)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getComponentPath()
          The path to the component on the page, or null if the property is a property of the page.
 java.lang.Object getNewValue()
          The new value for the property, which may be null.
 java.lang.String getPropertyName()
          The name of the property that changed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyChangeImpl

public PropertyChangeImpl(java.lang.String componentPath,
                          java.lang.String propertyName,
                          java.lang.Object newValue)
Method Detail

getComponentPath

public java.lang.String getComponentPath()
The path to the component on the page, or null if the property is a property of the page.

Specified by:
getComponentPath in interface PropertyChange

getNewValue

public java.lang.Object getNewValue()
The new value for the property, which may be null.

Specified by:
getNewValue in interface PropertyChange

getPropertyName

public java.lang.String getPropertyName()
The name of the property that changed.

Specified by:
getPropertyName in interface PropertyChange

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object object)