Errai 3.0.1-SNAPSHOT

org.jboss.errai.databinding.client.api
Class PropertyChangeEvent<T>

java.lang.Object
  extended by org.jboss.errai.databinding.client.api.PropertyChangeEvent<T>

public class PropertyChangeEvent<T>
extends Object

Dispatched when a bound property has changed.

Author:
David Cracauer , Christian Sadilek

Constructor Summary
PropertyChangeEvent(Object source, String propertyName, T oldValue, T newValue)
           
 
Method Summary
 T getNewValue()
          Gets the new value of the property.
 T getOldValue()
          Gets the old value of the property.
 String getPropertyName()
          Gets the property name.
 Object getSource()
          Gets the object on which the Event initially occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChangeEvent

public PropertyChangeEvent(Object source,
                           String propertyName,
                           T oldValue,
                           T newValue)
Method Detail

getNewValue

public T getNewValue()
Gets the new value of the property.

Returns:
new property value.

getOldValue

public T getOldValue()
Gets the old value of the property.

Returns:
old property value.

getPropertyName

public String getPropertyName()
Gets the property name.

Returns:
the property name.

getSource

public Object getSource()
Gets the object on which the Event initially occurred.

Returns:
the source object.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.