package edu.calpoly.cpe205.fetter; import javax.swing.*; import java.util.*; import java.io.*; import java.lang.reflect.*; import java.lang.*; import java.awt.*; import javax.swing.event.*; import java.awt.event.*; /** * Classes that want to be informed of when a Test Data Item is added or * removed, or when a Test Data Item's name or value is changed must * implement this interface. */ // Author: Phillip Hansen // Version History: // Nov 19, 2000 - comments/pseudocode added // Nov 30, 2000 - (Mike Hebron) updated class description public interface ParameterDataListener { /** * informs the appropriate listeners when a parameter data item is changed *
* Pre-conditions: none
* Post-conditions: none
* @param changed the ParameterDataInterface that was changed
*/
public void parameterDataChanged(ParameterDataInterface changed);
/**
* informs the appropriate listeners when a parameter data item is added
*
* Pre-conditions: none
* Post-conditions: none
* @param added the ParameterDataInterface that was added
*/
public void parameterDataAdded(ParameterDataInterface added);
/**
* informs the appropriate listeners when a parameter data item is removed
*
* Pre-conditions: none
* Post-conditions: none
* @param removed the ParameterDataInterface that was removed
*/
public void parameterDataRemoved(ParameterDataInterface removed);
/**
* returns the name of the type
*
* Pre-conditions: none
* Post-conditions: none
* @returned String containing the name of the type
*/
public String getTypeName();
/** @link dependency */
/*#ParameterDataInterface lnkParameterDataInterface;*/
}