org.apache.tapestry.record
Class PageChange

java.lang.Object
  extended by org.apache.tapestry.record.PageChange
All Implemented Interfaces:
IPageChange

public class PageChange
extends Object
implements IPageChange

Represents a change to a component on a page.

Version:
$Id: PageChange.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
PageChange(String componentPath, String propertyName, Object newValue)
           
 
Method Summary
 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageChange

public PageChange(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 IPageChange

getNewValue

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

Specified by:
getNewValue in interface IPageChange

getPropertyName

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

Specified by:
getPropertyName in interface IPageChange

toString

public String toString()
Overrides:
toString in class Object