TextGroup

Inheritance: java.lang.Object

public class TextGroup

Gruppo di testo

Costruttori

ConstructorDescrizione
TextGroup(String text, TextStyle style)Constructor

Metodi

MetodoDescrizione
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:

ParametroTipoDescrizione
textjava.lang.StringTesto nel gruppo
styleTextStyleStile 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:

ParametroTipoDescrizione
newTextjava.lang.StringValore per il nuovo testo

getStyle()

public final TextStyle getStyle()

Stile per gruppo di testo

Returns: TextStyle - TextStyle instance