info.rolandkrueger.roklib.util.formatter
Class TextFormatter
java.lang.Object
info.rolandkrueger.roklib.util.formatter.TextFormatter
public final class TextFormatter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mFormatter
private ITextFormatter mFormatter
mBuffer
private StringBuilder mBuffer
TextFormatter
public TextFormatter(ITextFormatter formatter)
getLength
public int getLength()
setLength
public void setLength(int newLength)
getFormattedText
public CharSequence getFormattedText()
reset
public void reset()
append
public TextFormatter append(CharSequence text)
appendBold
public TextFormatter appendBold(CharSequence text)
appendColored
public TextFormatter appendColored(CharSequence text,
Color color)
appendItalic
public TextFormatter appendItalic(CharSequence text)
appendMonospaced
public TextFormatter appendMonospaced(CharSequence text)
appendSubscript
public TextFormatter appendSubscript(CharSequence text)
appendSuperscript
public TextFormatter appendSuperscript(CharSequence text)
appendUnderlined
public TextFormatter appendUnderlined(CharSequence text)
appendStrikeThrough
public TextFormatter appendStrikeThrough(CharSequence text)
Copyright © 2007-2011. All Rights Reserved.