2024-06-15 19:55:30 +00:00
|
|
|
|
package testApplication;
|
|
|
|
|
|
|
|
|
|
import logging.LogElementList;
|
2024-06-27 09:07:46 +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-06-27 09:07:46 +00:00
|
|
|
|
* @see HybridWindow
|
2024-06-15 19:55:30 +00:00
|
|
|
|
* @see testApplication.TestApplication
|
2024-06-27 09:07:46 +00:00
|
|
|
|
* @author MSch<EFBFBD>fer
|
2024-06-15 19:55:30 +00:00
|
|
|
|
* 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);
|
|
|
|
|
}
|
|
|
|
|
}
|