/** * */ package visualization; import javax.swing.JPanel; import javax.swing.JScrollPane; /** * This class provides the basic parameter input area for an algorithm visualization. * Add the components and corresponding methods you need and use them in your algorithm. * @see logging.Algorithm * @see visualization.HybridWindow * @see javax.swing.JPanel * @author Björn Strobel
* University of Cooperative Education Stuttgart, * Campus Horb
* Department of Information Technology
* it2003
*/ public abstract class ParameterArea extends JPanel{ /** The parameter area's scroll pane. */ protected JScrollPane scrollPane; /** * Standard constructor. * Creates an empty parameter area with scroll pane. */ public ParameterArea() { scrollPane=new JScrollPane(this); } /** * Returns the parameter area's scroll pane. * @return the parameter area's scroll pane */ public JScrollPane getScrollPane(){ return scrollPane; } }