public class Translatable
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Translatable.Builder
Provides a builder for translatable objects
|
| Modifier and Type | Method and Description |
|---|---|
TextAttribute |
getAttributes()
Gets the text attributes for the text
|
java.lang.String |
getLocale()
Gets the locale for the text
|
java.lang.String |
getText()
Gets the text
|
java.lang.Boolean |
isHyphenating()
Returns true if the text should be hyphenated.
|
static Translatable.Builder |
text(java.lang.String text)
Creates a new Translatable.Builder with the specified text.
|
public static Translatable.Builder text(java.lang.String text)
text - the text to translatepublic java.lang.String getText()
public java.lang.String getLocale()
public TextAttribute getAttributes()
public java.lang.Boolean isHyphenating()