2024-07-02 19:13:30 +00:00
|
|
|
|
package OurApplication;
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
|
|
|
|
import logging.LogElementList;
|
2024-07-02 19:13:30 +00:00
|
|
|
|
import visualisation.HybridWindow;
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This class provides an example for using visualization.HybridWindow.
|
|
|
|
|
* Overwriting the constructor is necessary to run as an applet.
|
|
|
|
|
* For running as an application overwriting the constructor is not necessary
|
2024-07-02 19:13:30 +00:00
|
|
|
|
* @see HybridWindow
|
|
|
|
|
* @see OurApplication
|
|
|
|
|
* @author MSch<EFBFBD>fer
|
2024-06-15 19:55:30 +00:00
|
|
|
|
* DHBW Stuttgart/Campus Horb AI2008<br>
|
|
|
|
|
* <br>
|
|
|
|
|
*/
|
2024-07-02 19:13:30 +00:00
|
|
|
|
public class OurHybridWindow extends HybridWindow{
|
2024-06-15 19:55:30 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Overwritten standard constructor.
|
|
|
|
|
* Creates a TestUpHybridWindow with
|
|
|
|
|
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
|
|
|
|
* TestAlgorithm and a LogElementList of TestLogElements.
|
|
|
|
|
*/
|
2024-07-02 19:13:30 +00:00
|
|
|
|
public OurHybridWindow() {
|
2024-06-15 19:55:30 +00:00
|
|
|
|
super();
|
2024-07-02 22:46:21 +00:00
|
|
|
|
logList = new LogElementList<OurLogElement>();
|
|
|
|
|
parameterArea = new OurParameterArea();
|
|
|
|
|
drawArea = new OurDrawArea(logList,"visualization");
|
|
|
|
|
textArea = new OurTextArea(logList);
|
|
|
|
|
legendArea = new OurLegendArea();
|
|
|
|
|
algorithm = new OurAlgorithm((OurParameterArea) parameterArea);
|
2024-06-15 19:55:30 +00:00
|
|
|
|
}
|
|
|
|
|
}
|