ProjektGraph/OurApplication/OurHybridWindow.java
2024-06-27 15:05:22 +02:00

34 lines
1015 B
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);
}
}