jsky.util
Class ReplacementEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.beans.PropertyChangeEvent
          extended by jsky.util.ReplacementEvent
All Implemented Interfaces:
java.io.Serializable

public class ReplacementEvent
extends java.beans.PropertyChangeEvent

This event to indicate that an object is to be replaced in its entirety by a new object.

This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.

Version:
2000.05.03
Author:
S. Grosvenor / BoozAllen
See Also:
Serialized Form

Field Summary
static java.lang.String REPLACEMENT
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReplacementEvent(java.lang.Object oldObject, java.lang.Object newObject)
          Constructs a new ReplacementEvent.
 
Method Summary
 java.lang.Object getNewObject()
          Deprecated. Please use getNewValue() instead
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, 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
 

Field Detail

REPLACEMENT

public static java.lang.String REPLACEMENT
Constructor Detail

ReplacementEvent

public ReplacementEvent(java.lang.Object oldObject,
                        java.lang.Object newObject)
Constructs a new ReplacementEvent.

Parameters:
oldObject - the "old" object to be replaced
newObject - the "new" object
Method Detail

getNewObject

public java.lang.Object getNewObject()
Deprecated. Please use getNewValue() instead

Returns the new object to be replaced

Returns:
the replacing object