public class TextLabel extends Widget
| Constructor and Description |
|---|
TextLabel(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData() |
java.lang.String |
getName() |
TextLabel |
setText(java.lang.String text)
Sets new text
|
TextLabel |
setTextWrapping(boolean textWrap)
Sets text wrapping
|
addTo, attach, getID, handleData, sendElementpublic TextLabel setText(java.lang.String text)
text - Textpublic TextLabel setTextWrapping(boolean textWrap)
textWrap - If set to false text will not be wrapped