public final class Text extends Object implements IText
ITextPanel.| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
private ITextPanel |
textPanel
The current
TextPanel instance to control. |
| Modifier | Constructor and Description |
|---|---|
private |
Text() |
| Modifier and Type | Method and Description |
|---|---|
String |
getData() |
static IText |
getInstance() |
ITextPanel |
getTextPanel()
Gets the current
TextPanel instance. |
void |
reset()
Indicates whether or not the
TextPanel currently contains some
content. |
void |
setNewData(String model)
Set the new data to the
TextPanel. |
void |
setTextPanel(ITextPanel arg)
Sets the
TextPanel instance to control. |
private static final org.apache.log4j.Logger logger
private ITextPanel textPanel
TextPanel instance to control.public static IText getInstance()
public ITextPanel getTextPanel()
TextPanel instance.getTextPanel in interface ITextpublic void setTextPanel(ITextPanel arg)
TextPanel instance to control.setTextPanel in interface ITextarg - public void setNewData(String model)
TextPanel.setNewData in interface ITextmodel - the string to be displayedpublic void reset()
TextPanel currently contains some
content.reset in interface ITextITextPanel.isEmpty()Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.