org.nakedobjects.object.value
Class NakedValueChangedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.nakedobjects.object.value.NakedValueChangedEvent
All Implemented Interfaces:
java.io.Serializable

public final class NakedValueChangedEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NakedValueChangedEvent(java.lang.Object source, NakedValue oldValue, NakedValue newValue)
           
 
Method Summary
 NakedValue getNewValue()
          returns new value; will be same as the object returned by getSource()
 NakedValue getOldValue()
          returns (copy of) value before change
 java.lang.String toString()
          String representation of this event.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NakedValueChangedEvent

public NakedValueChangedEvent(java.lang.Object source,
                              NakedValue oldValue,
                              NakedValue newValue)
Method Detail

getOldValue

public NakedValue getOldValue()
returns (copy of) value before change


getNewValue

public NakedValue getNewValue()
returns new value; will be same as the object returned by getSource()

See Also:
EventObject.getSource()

toString

public java.lang.String toString()
String representation of this event.