34 lines
1.0 KiB
Java
34 lines
1.0 KiB
Java
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);
|
||
}
|
||
}
|