FormattedTextFragmentCollectionType
Inheritance: java.lang.Object
public final class FormattedTextFragmentCollectionType
Specifies the number of elements a formatted text fragment collection can contain.
Fields
Field | Description |
---|---|
UnlimitedFragments | Multiple styles are allowed, the collection can contain unlimited count of fragments. |
SingleFragment | Whole text can be formatted with a single style, the collection can contain only one fragment. |
NoFormattedText | Parent object doesn’t support text formatting, the collection is always empty. |
UnlimitedFragments
public static final int UnlimitedFragments
Multiple styles are allowed, the collection can contain unlimited count of fragments.
SingleFragment
public static final int SingleFragment
Whole text can be formatted with a single style, the collection can contain only one fragment.
NoFormattedText
public static final int NoFormattedText
Parent object doesn’t support text formatting, the collection is always empty.