public class TextComponent extends java.lang.Object implements StatusBarComponent
| Constructor and Description |
|---|
TextComponent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
render()
Renders the content of a component to a String.
|
void |
setText(java.lang.String text)
Sets the text to be displayed by the component.
|
public void setText(java.lang.String text)
text - the text to display.public java.lang.String render()
StatusBarComponentrender in interface StatusBarComponent