Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.maryanovsky.gwtutils.client.event
Class PropertyChangeEvent

    java.lang.Object
      java.util.EventObject
          com.maryanovsky.gwtutils.client.event.PropertyChangeEvent

All Implemented Interfaces:
  Serializable

    public class PropertyChangeEvent

extends EventObject

Encapsulates a change event in some named property.

Author:
  Maryanovsky Alexander
See Also:
  Serialized Form

Field Summary

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)` Creates a new `PropertyChangeEvent` with the specified source object, name of the property that changed and the old and new values of the property.

Method Summary
`Object` | `getNewValue()` Returns the new value of the property.
`Object` | `getOldValue()` Returns the old value of the property.
`String` | `getPropertyName()` Returns the name of the property that changed.

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,
                               Object oldValue,
                               Object newValue)

  Creates a new `PropertyChangeEvent` with the specified source object, name of the property that changed and the old and new values of the property.

Method Detail

### getPropertyName

    public String getPropertyName()

  Returns the name of the property that changed.

### getOldValue

    public Object getOldValue()

  Returns the old value of the property.

### getNewValue

    public Object getNewValue()

  Returns the new value of the property.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD