ProjektGraph/OurApplication/OurHybridWindow.java

34 lines
1.0 KiB
Java
Raw Normal View History

2024-07-02 19:13:30 +00:00
package OurApplication;
import logging.LogElementList;
2024-07-02 19:13:30 +00:00
import visualisation.HybridWindow;
/**
* 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
* DHBW Stuttgart/Campus Horb AI2008<br>
* <br>
*/
2024-07-02 19:13:30 +00:00
public class OurHybridWindow extends HybridWindow{
/**
* 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() {
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);
}
}