public abstract class FormattedTextFragment extends Object
Provides abstract base class for a fragment of formatted text in a content.
Modifier and Type | Method and Description |
---|---|
abstract Color |
getBackgroundColor()
Gets the background color of the text.
|
abstract Font |
getFont()
Gets the font of the text.
|
abstract Color |
getForegroundColor()
Gets the foreground color of the text.
|
abstract String |
getText()
Gets the fragment text.
|
public abstract String getText()
Gets the fragment text.
public abstract Font getFont()
Gets the font of the text.
public abstract Color getForegroundColor()
Gets the foreground color of the text.
public abstract Color getBackgroundColor()
Gets the background color of the text.