TextGroup

Inheritance: java.lang.Object

public class TextGroup

Text group

Constructors

ConstructorDescription
TextGroup(String text, TextStyle style)Constructor

Methods

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

ParameterTypeDescription
textjava.lang.StringText in group
styleTextStyleStyle 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:

ParameterTypeDescription
newTextjava.lang.StringValue for new text

getStyle()

public final TextStyle getStyle()

Style for text group

Returns: TextStyle - TextStyle instance