org.jcreme.filters
Class FilterChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jcreme.filters.FilterChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class FilterChangeEvent
extends java.util.EventObject

This class reports a change in a ReportFilter.

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FilterChangeEvent(ReportFilter source)
          Creates new FilterChangeEvent
FilterChangeEvent(ReportFilter source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
          Creates new FilterChangeEvent
 
Method Summary
 java.lang.Object getNewValue()
          Gives access to the current value of the property.
 java.lang.Object getOldValue()
          Gives access to the previous value of the property.
 java.lang.String getPropertyName()
          Gives access to the name of the modified property.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

FilterChangeEvent

public FilterChangeEvent(ReportFilter source)
Creates new FilterChangeEvent

Parameters:
source - the ReportFilter that changed.

FilterChangeEvent

public FilterChangeEvent(ReportFilter source,
                         java.lang.String propertyName,
                         java.lang.Object oldValue,
                         java.lang.Object newValue)
Creates new FilterChangeEvent

Parameters:
source - the ReportFilter that changed.
propertyName - the property that changed in the source.
oldValue - the previous value of the property.
newValue - the current value of the property.
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Gives access to the name of the modified property.

Returns:
the name of the property that changed.

getOldValue

public java.lang.Object getOldValue()
Gives access to the previous value of the property.

Returns:
the previous value of the property.

getNewValue

public java.lang.Object getNewValue()
Gives access to the current value of the property.

Returns:
the new value of the property.


Copyright 2006 null. All Rights Reserved.