Programmieren_Projekt/testApplication/TestTextArea.java

42 lines
874 B
Java

package testApplication;
import logging.LogElementList;
import visualization.TextArea;
/**
* This class provides an example for using visualization.TextArea.
* Constructors and print() method have been overwritten.
* @see visualization.TextArea
* @author MSchäfer
* DHBW Stuttgart/Campus Horb AI2008<br>
* <br>
*/
public class TestTextArea extends TextArea{
private static final long serialVersionUID = 1L;
/**
* Standard constructor.
*/
public TestTextArea() {
super();
}
/**
* Extended constructor.
* Sets LogElementList of TestLogElements as log list.
* @param logList the text area's log element list.
*/
public TestTextArea(LogElementList<TestLogElement>logList){
super(logList);
}
/**
* Textual output of a log element.
* No output.
*/
public boolean print(){
return true;
}
}