Modifier and Type | Class and Description |
---|---|
public static interface | |
private static class | |
pack-priv class |
Modifier and Type | Field and Description |
---|---|
private Map | |
private StringBuilder | |
private StyledText. | |
private List |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
private void | |
public StyledText | |
public StyledText | |
public CharSequence | |
public void | |
private void | |
public void | |
private void | |
public StyledText | |
protected void | |
public int | |
public void | |
private void | |
public StyledText | |
private void |
bookmarks | back to summary |
---|---|
private Map<String, StyledText> bookmarks |
chars | back to summary |
---|---|
private StringBuilder chars |
styles | back to summary |
---|---|
private StyledText. |
subtexts | back to summary |
---|---|
private List<WeakReference<StyledText. |
StyledText | back to summary |
---|---|
public StyledText() |
addStyle | back to summary |
---|---|
public void addStyle(Set<? extends Style> additionalStyles) |
addStyle | back to summary |
---|---|
private void addStyle(int start, int end, Set<? extends Style> additionalStyles) |
append | back to summary |
---|---|
public StyledText append(Set<? extends Style> styles, CharSequence sequence) |
append | back to summary |
---|---|
public StyledText append(StyledText fragment) |
asCharSequence | back to summary |
---|---|
public CharSequence asCharSequence() |
bookmark | back to summary |
---|---|
public void bookmark(String name) |
bookmark | back to summary |
---|---|
private void bookmark(String name, int start, int end) |
consumeBy | back to summary |
---|---|
public void consumeBy(StyledText. |
consumeBy | back to summary |
---|---|
private void consumeBy(StyledText. |
getBookmarkedText | back to summary |
---|---|
public StyledText getBookmarkedText(String bookmark) |
init | back to summary |
---|---|
protected void init() |
length | back to summary |
---|---|
public int length() |
replace | back to summary |
---|---|
public void replace(Set<? extends Style> styles, CharSequence plaintext) |
replace | back to summary |
---|---|
private void replace(int start, int end, Set<? extends Style> styles, CharSequence plaintext) |
subText | back to summary |
---|---|
public StyledText subText(int start, int end) |
update | back to summary |
---|---|
private void update(int start, int end, int newLength, StyledText. |
Modifier and Type | Method and Description |
---|---|
public void |
consume | back to summary |
---|---|
public void consume(Set<? extends Style> style, CharSequence sequence) |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
private void | |
private void | |
private void | |
private void | |
private Set |
list | back to summary |
---|---|
private final ArrayList<Set<Style>> list |
Styles | back to summary |
---|---|
private Styles() |
add | back to summary |
---|---|
private void add(int fromIndex, int toIndex, Set<? extends Style> additional) |
consumeBy | back to summary |
---|---|
private void consumeBy(StyledText. |
delete | back to summary |
---|---|
private void delete(int fromIndex, int toIndex) |
insert | back to summary |
---|---|
private void insert(int fromIndex, int length, Set<? extends Style> s) |
sum | back to summary |
---|---|
private Set |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | addStyle(Set<? extends Style> additionalStyles)
Overrides jdk. |
public CharSequence | |
public void | |
public void | |
public StyledText | |
protected void | |
public int | |
public void | replace(Set<? extends Style> styles, CharSequence plaintext)
Overrides jdk. |
public StyledText | subText(int start, int end)
Overrides jdk. |
SubText | back to summary |
---|---|
private SubText(int start, int end) |
addStyle | back to summary |
---|---|
public void addStyle(Set<? extends Style> additionalStyles) Overrides jdk.
|
asCharSequence | back to summary |
---|---|
public CharSequence asCharSequence() Overrides jdk.
|
bookmark | back to summary |
---|---|
public void bookmark(String name) Overrides jdk.
|
consumeBy | back to summary |
---|---|
public void consumeBy(StyledText. Overrides jdk.
|
getBookmarkedText | back to summary |
---|---|
public StyledText getBookmarkedText(String bookmark) Overrides jdk.
|
init | back to summary |
---|---|
protected void init() Overrides jdk.
|
length | back to summary |
---|---|
public int length() Overrides jdk.
|
replace | back to summary |
---|---|
public void replace(Set<? extends Style> styles, CharSequence plaintext) Overrides jdk.
|
subText | back to summary |
---|---|
public StyledText subText(int start, int end) Overrides jdk.
|