public static class Translatable.Builder extends Object
Modifier and Type | Method and Description |
---|---|
Translatable.Builder |
attributes(TextAttribute value)
Sets the text attributes for this builder
|
Translatable |
build()
Builds a new Translatable object using the current
status of this builder.
|
Translatable.Builder |
hyphenate(boolean value)
Sets the hyphenate property for this builder
|
Translatable.Builder |
locale(String value)
Sets the locale for this builder
|
Translatable.Builder |
markCapitalLetters(boolean value)
Sets the capital letters property for this builder
|
public Translatable.Builder locale(String value)
value
- the localepublic Translatable.Builder attributes(TextAttribute value)
value
- the text attributespublic Translatable.Builder hyphenate(boolean value)
value
- the hyphenate policypublic Translatable.Builder markCapitalLetters(boolean value)
value
- the capital letters policypublic Translatable build()