ProjektGraph/OurApplication/OurHybridWindow.java
2024-07-03 00:46:21 +02:00

34 lines
1.0 KiB
Java
Raw Blame History

package OurApplication;
import logging.LogElementList;
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
* @see HybridWindow
* @see OurApplication
* @author MSch<63>fer
* DHBW Stuttgart/Campus Horb AI2008<br>
* <br>
*/
public class OurHybridWindow extends HybridWindow{
/**
* Overwritten standard constructor.
* Creates a TestUpHybridWindow with
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
* TestAlgorithm and a LogElementList of TestLogElements.
*/
public OurHybridWindow() {
super();
logList = new LogElementList<OurLogElement>();
parameterArea = new OurParameterArea();
drawArea = new OurDrawArea(logList,"visualization");
textArea = new OurTextArea(logList);
legendArea = new OurLegendArea();
algorithm = new OurAlgorithm((OurParameterArea) parameterArea);
}
}