JBoss Common Beans 1.1.0.Final-redhat-1

org.jboss.common.beans.property
Class PropertyChangeEvent<T>

java.lang.Object
  extended by java.util.EventObject
      extended by java.beans.PropertyChangeEvent
          extended by org.jboss.common.beans.property.PropertyChangeEvent<T>
All Implemented Interfaces:
Serializable

public class PropertyChangeEvent<T>
extends PropertyChangeEvent

Author:
Carlo de Wolf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyChangeEvent(Object source, String propertyName, T oldValue, T newValue)
          Constructs a new PropertyChangeEvent.
 
Method Summary
 T getNewValue()
           
 T getOldValue()
           
 
Methods inherited from class java.beans.PropertyChangeEvent
getPropagationId, getPropertyName, setPropagationId
 
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
 

Constructor Detail

PropertyChangeEvent

public PropertyChangeEvent(Object source,
                           String propertyName,
                           T oldValue,
                           T newValue)
Constructs a new PropertyChangeEvent.

Parameters:
source - The bean that fired the event.
propertyName - The programmatic name of the property that was changed.
oldValue - The old value of the property.
newValue - The new value of the property.
Method Detail

getNewValue

public T getNewValue()
Overrides:
getNewValue in class PropertyChangeEvent

getOldValue

public T getOldValue()
Overrides:
getOldValue in class PropertyChangeEvent

JBoss Common Beans 1.1.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.