com.jbbres.lib.actions.elements
Class ElementDescriptionChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jbbres.lib.actions.elements.ElementDescriptionChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class ElementDescriptionChangeEvent
extends java.util.EventObject

ElementDescriptionChangeEvent is used to notify interested parties that a value has changed in the element description ( ElementDescription) source.

Since:
1.0.0
Version:
1.0.0
Author:
Jean-Baptiste Bres
See Also:
ElementDescription, Serialized Form

Constructor Summary
ElementDescriptionChangeEvent(ElementDescription<?> elementDescription, java.lang.String key, java.lang.String oldValue, java.lang.String newValue)
          Instantiates a new element description change event.
 
Method Summary
 java.lang.String getDescriptionKey()
          Returns the key of the value that has changed.
 ElementDescription<?> getElementDescription()
          Returns the source element description.
 java.lang.String getNewValue()
          Returns the value after change.
 java.lang.String getOldValue()
          Returns the value before change.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementDescriptionChangeEvent

public ElementDescriptionChangeEvent(ElementDescription<?> elementDescription,
                                     java.lang.String key,
                                     java.lang.String oldValue,
                                     java.lang.String newValue)
Instantiates a new element description change event.

Parameters:
elementDescription - - the element description
key - - the key of the value that has changed
oldValue - - the previous value
newValue - - the new value
Method Detail

getElementDescription

public ElementDescription<?> getElementDescription()
Returns the source element description.

Returns:
the element description

getDescriptionKey

public java.lang.String getDescriptionKey()
Returns the key of the value that has changed.

Returns:
the key of the value that has changed

getOldValue

public java.lang.String getOldValue()
Returns the value before change.

Returns:
the value before change
See Also:
getNewValue()

getNewValue

public java.lang.String getNewValue()
Returns the value after change.

Returns:
the value after change
See Also:
getOldValue()


To file bugs or suggest feature enhancements, visit the app.jbbres.com Bug Reporter website.

Additional documentation available online at http://app.jbbres.com/actions/developers.

Copyright � 2009-2011 app.jbbres.com. All Rights Reserved.