Programmieren_Projekt/testApplication/TestHybridWindow.java

35 lines
1.1 KiB
Java
Raw Blame History

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