org.apache.tapestry.record
Class PropertyChangeImpl

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

public class PropertyChangeImpl
extends Object
implements PropertyChange

Represents a change to a component on a page.

Author:
Howard Lewis Ship

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

Constructor Detail

PropertyChangeImpl

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

getComponentPath

public 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 Object getNewValue()
The new value for the property, which may be null.

Specified by:
getNewValue in interface PropertyChange

getPropertyName

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

Specified by:
getPropertyName in interface PropertyChange

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.