java.lang.Object | |||
↳ | android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.FractionBuilder> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.FractionBuilder> | ||
↳ | android.text.style.TtsSpan.FractionBuilder |
A builder for TtsSpans of type TYPE_FRACTION
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder for a TtsSpan of type
TYPE_FRACTION .
| |||||||||||
Creates a TtsSpan of type
TYPE_FRACTION and sets the
ARG_INTEGER_PART , ARG_NUMERATOR , and
ARG_DENOMINATOR arguments.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method that converts the denominator to a String and sets
the argument
ARG_DENOMINATOR .
| |||||||||||
Sets the
ARG_DENOMINATOR argument.
| |||||||||||
Convenience method that converts the integer to a String and sets the
argument
ARG_NUMBER .
| |||||||||||
Sets the
ARG_INTEGER_PART argument.
| |||||||||||
Sets the
ARG_NUMERATOR argument.
| |||||||||||
Convenience method that converts the numerator to a String and sets
the argument
ARG_NUMERATOR .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.TtsSpan.SemioticClassBuilder
| |||||||||||
From class
android.text.style.TtsSpan.Builder
| |||||||||||
From class
java.lang.Object
|
Creates a builder for a TtsSpan of type TYPE_FRACTION
.
Creates a TtsSpan of type TYPE_FRACTION
and sets the
ARG_INTEGER_PART
, ARG_NUMERATOR
, and
ARG_DENOMINATOR
arguments.
Convenience method that converts the denominator to a String and sets
the argument ARG_DENOMINATOR
.
denominator | The denominator. |
---|
Sets the ARG_DENOMINATOR
argument.
denominator | A non-empty string of digits with an optional leading + or -. |
---|
Convenience method that converts the integer to a String and sets the
argument ARG_NUMBER
.
integerPart | The integer part. |
---|
Sets the ARG_INTEGER_PART
argument.
integerPart | A non-empty string of digits with an optional leading + or -. |
---|
Sets the ARG_NUMERATOR
argument.
numerator | A non-empty string of digits with an optional leading + or -. |
---|
Convenience method that converts the numerator to a String and sets
the argument ARG_NUMERATOR
.
numerator | The numerator. |
---|