TextGroup
Contenuti
[
Nascondere
]Inheritance: java.lang.Object
public class TextGroup
Gruppo di testo
Costruttori
| Constructor | Descrizione |
|---|---|
| TextGroup(String text, TextStyle style) | Constructor |
Metodi
| Metodo | Descrizione |
|---|---|
| getText() | Testo nel gruppo |
| updateText(String newText) | Testo aggiornamenti |
| getStyle() | Stile per gruppo di testo |
TextGroup(String text, TextStyle style)
public TextGroup(String text, TextStyle style)
Constructor
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| text | java.lang.String | Testo nel gruppo |
| style | TextStyle | Stile del gruppo |
getText()
public final String getText()
Testo nel gruppo
Returns: java.lang.String - valore stringa
updateText(String newText)
public final void updateText(String newText)
Testo aggiornamenti
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| newText | java.lang.String | Valore per il nuovo testo |
getStyle()
public final TextStyle getStyle()
Stile per gruppo di testo
Returns: TextStyle - TextStyle instance