2024-06-15 19:55:30 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
2024-07-02 19:13:30 +00:00
|
|
|
|
package visualisation;
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
2024-07-02 19:13:30 +00:00
|
|
|
|
import javax.swing.*;
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 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
|
2024-07-02 19:13:30 +00:00
|
|
|
|
* @see HybridWindow
|
|
|
|
|
* @see JPanel
|
|
|
|
|
* @author Bj<EFBFBD>rn Strobel<br><small>
|
2024-06-15 19:55:30 +00:00
|
|
|
|
* University of Cooperative Education Stuttgart,
|
|
|
|
|
* Campus Horb<br>
|
|
|
|
|
* Department of Information Technology<br>
|
|
|
|
|
* it2003<br></small>
|
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|