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 implement this interface will allow other ETA classes to * retrieve the parameter information held in their GUI components. * Implementing classes will also allow other ETA classes to enable or disable * the implementing classes' GUI components. */ // Author: Brian Laird // Version History // Nov 19, 2000 - added algorithm pseudocode // Nov 30, 2000 - (Mike Hebron) updated class description // Feb 9, 2001 - (Phillip Hansen) performed code walkthrough public interface MethodRowInterface { /** * Gets the parameters of the test data items in hashcode form. *

* Pre-conditions: none * Post-conditions: returns a int[] of parameter hashcodes * @param none * @return int[] hashcodes */ public ParameterDataInterface[] getParameters(); /** * Enables all components of the Row. *

* Pre-conditions: none * Post-conditions: all components within row are enabled */ public void setEnabled(boolean enabled); /** * A boolean method that checks if all parameter combo boxes have * values associated with them. *

* Pre-conditions: none * Post-conditions: returns boolean * @param none * @return boolean valid */ public boolean isParametersValid(); }