S
- the segment style typepublic class StyleSpansBuilder<S>
extends java.lang.Object
StyleSpans
object.Constructor | Description |
---|---|
StyleSpansBuilder() |
|
StyleSpansBuilder(int initialCapacity) |
Modifier and Type | Method | Description |
---|---|---|
StyleSpansBuilder<S> |
add(StyleSpan<S> styleSpan) |
|
StyleSpansBuilder<S> |
add(S style,
int length) |
|
StyleSpansBuilder<S> |
addAll(java.lang.Iterable<? extends StyleSpan<S>> styleSpans) |
|
StyleSpansBuilder<S> |
addAll(java.lang.Iterable<? extends StyleSpan<S>> styleSpans,
int sizeHint) |
|
StyleSpansBuilder<S> |
addAll(java.util.Collection<? extends StyleSpan<S>> styleSpans) |
|
StyleSpansBuilder<S> |
addAll(java.util.Iterator<? extends StyleSpan<S>> styleSpans) |
|
StyleSpans<S> |
create() |
public StyleSpansBuilder(int initialCapacity)
public StyleSpansBuilder()
public StyleSpansBuilder<S> add(StyleSpan<S> styleSpan)
public StyleSpansBuilder<S> add(S style, int length)
public StyleSpansBuilder<S> addAll(java.util.Collection<? extends StyleSpan<S>> styleSpans)
public StyleSpansBuilder<S> addAll(java.lang.Iterable<? extends StyleSpan<S>> styleSpans, int sizeHint)
public StyleSpansBuilder<S> addAll(java.lang.Iterable<? extends StyleSpan<S>> styleSpans)
public StyleSpansBuilder<S> addAll(java.util.Iterator<? extends StyleSpan<S>> styleSpans)
public StyleSpans<S> create()