public class AttributedString extends AttributedCharSequence
| Modifier and Type | Field and Description |
|---|---|
static AttributedString |
EMPTY |
static AttributedString |
NEWLINE |
| Constructor and Description |
|---|
AttributedString(CharSequence str) |
AttributedString(CharSequence str,
AttributedStyle s) |
AttributedString(CharSequence str,
int start,
int end) |
AttributedString(CharSequence str,
int start,
int end,
AttributedStyle s) |
| Modifier and Type | Method and Description |
|---|---|
protected char[] |
buffer() |
boolean |
equals(Object o) |
static AttributedString |
fromAnsi(String ansi) |
static AttributedString |
fromAnsi(String ansi,
int tabs) |
static AttributedString |
fromAnsi(String ansi,
List<Integer> tabs) |
int |
hashCode() |
static AttributedString |
join(AttributedString delimiter,
AttributedString... elements) |
static AttributedString |
join(AttributedString delimiter,
Iterable<AttributedString> elements) |
int |
length() |
protected int |
offset() |
static String |
stripAnsi(String ansi) |
AttributedStyle |
styleAt(int index) |
AttributedString |
styleMatches(Pattern pattern,
AttributedStyle style) |
AttributedString |
subSequence(int start,
int end) |
charAt, codePointAt, codePointBefore, codePointCount, columnLength, columnSplitLength, columnSplitLength, columnSubSequence, contains, isHidden, print, println, rgbColor, roundColor, roundRgbColor, runLimit, runStart, substring, toAnsi, toAnsi, toAnsi, toAnsi, toAttributedString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointspublic static final AttributedString EMPTY
public static final AttributedString NEWLINE
public AttributedString(CharSequence str)
public AttributedString(CharSequence str, int start, int end)
public AttributedString(CharSequence str, AttributedStyle s)
public AttributedString(CharSequence str, int start, int end, AttributedStyle s)
public static AttributedString fromAnsi(String ansi)
public static AttributedString fromAnsi(String ansi, int tabs)
public static AttributedString fromAnsi(String ansi, List<Integer> tabs)
protected char[] buffer()
buffer in class AttributedCharSequenceprotected int offset()
offset in class AttributedCharSequencepublic int length()
public AttributedStyle styleAt(int index)
styleAt in class AttributedCharSequencepublic AttributedString subSequence(int start, int end)
subSequence in interface CharSequencesubSequence in class AttributedCharSequencepublic AttributedString styleMatches(Pattern pattern, AttributedStyle style)
public static AttributedString join(AttributedString delimiter, AttributedString... elements)
public static AttributedString join(AttributedString delimiter, Iterable<AttributedString> elements)
Copyright © 2019. All rights reserved.