public class AttributedStringBuilder extends AttributedCharSequence implements Appendable
Constructor and Description |
---|
AttributedStringBuilder() |
AttributedStringBuilder(int capacity) |
codePointAt, codePointBefore, codePointCount, columnLength, columnSplitLength, columnSplitLength, columnSubSequence, contains, isHidden, runLimit, runStart, substring, toAnsi, toAnsi, toAttributedString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public AttributedStringBuilder()
public AttributedStringBuilder(int capacity)
public static AttributedString append(CharSequence... strings)
public int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
charAt
in class AttributedCharSequence
public AttributedStyle styleAt(int index)
styleAt
in class AttributedCharSequence
protected char[] buffer()
buffer
in class AttributedCharSequence
protected int offset()
offset
in class AttributedCharSequence
public AttributedString subSequence(int start, int end)
subSequence
in interface CharSequence
subSequence
in class AttributedCharSequence
public AttributedStringBuilder append(CharSequence csq)
append
in interface Appendable
public AttributedStringBuilder append(CharSequence csq, int start, int end)
append
in interface Appendable
public AttributedStringBuilder append(char c)
append
in interface Appendable
public AttributedStringBuilder append(CharSequence csq, AttributedStyle style)
public AttributedStringBuilder style(AttributedStyle style)
public AttributedStyle style()
public AttributedStringBuilder append(AttributedString str)
public AttributedStringBuilder append(AttributedString str, int start, int end)
protected void ensureCapacity(int nl)
public void appendAnsi(String ansi)
protected void insertTab(AttributedStyle s)
public void setLength(int l)
public AttributedStringBuilder tabs(int tabs)
public AttributedStringBuilder styleMatches(Pattern pattern, AttributedStyle s)
Copyright © 2018. All rights reserved.