jsky.util
Interface ReplaceablePropertyChangeListener

All Superinterfaces:
java.util.EventListener, java.beans.PropertyChangeListener
All Known Subinterfaces:
ScienceObjectModel, ScienceObjectNodeModel, Spectrum, Wavelength1DModel
All Known Implementing Classes:
AbstractScienceObject, AbstractScienceObjectNode, AbstractWavelength1D, Flux, Passband, ProperMotion, ProperMotionPanel, Quantity, QuantityPanel, Redshift, Spectrum1DArray, Time, Wavelength, Wavelength1DArray, Wavelength1DFormula, Wavelength1DTableModel

public interface ReplaceablePropertyChangeListener
extends java.beans.PropertyChangeListener

The listener interface for receiving notification of when an object is to be replaced by a different instance. Used, for example, by Modules in SEA when changes are held until the Apply button is pressed.

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

Version:
03/17/99
Author:
S. Grosvenor

Method Summary
 void replaceObject(ReplacementEvent event)
          This method is called for each object that is to be replaced
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Method Detail

replaceObject

void replaceObject(ReplacementEvent event)
                   throws ReplacementVetoException
This method is called for each object that is to be replaced

Parameters:
event - the event that contains details about replacement
Throws:
ReplacementVetoException