TextGroup
Contents
[
Hide
]Inheritance: java.lang.Object
public class TextGroup
Text group
Constructors
| Constructor | Description |
|---|---|
| TextGroup(String text, TextStyle style) | Constructor |
Methods
| Method | Description |
|---|---|
| getText() | Text in group |
| updateText(String newText) | Updates text |
| getStyle() | Style for text group |
TextGroup(String text, TextStyle style)
public TextGroup(String text, TextStyle style)
Constructor
Parameters:
| Parameter | Type | Description |
|---|---|---|
| text | java.lang.String | Text in group |
| style | TextStyle | Style of group |
getText()
public final String getText()
Text in group
Returns: java.lang.String - String value
updateText(String newText)
public final void updateText(String newText)
Updates text
Parameters:
| Parameter | Type | Description |
|---|---|---|
| newText | java.lang.String | Value for new text |
getStyle()
public final TextStyle getStyle()
Style for text group
Returns: TextStyle - TextStyle instance