info.rolandkrueger.roklib.util.formatter
Class HTMLTextFormatter

java.lang.Object
  extended by info.rolandkrueger.roklib.util.formatter.HTMLTextFormatter
All Implemented Interfaces:
ITextFormatter

public class HTMLTextFormatter
extends Object
implements ITextFormatter


Constructor Summary
HTMLTextFormatter()
           
 
Method Summary
 CharSequence append(CharSequence text)
           
 CharSequence appendBold(CharSequence text)
           
 CharSequence appendColored(CharSequence text, Color color)
           
 CharSequence appendItalic(CharSequence text)
           
 CharSequence appendMonospaced(CharSequence text)
           
 CharSequence appendStrikeThrough(CharSequence text)
           
 CharSequence appendSubscript(CharSequence text)
           
 CharSequence appendSuperscript(CharSequence text)
           
 CharSequence appendUnderlined(CharSequence text)
           
 CharSequence encloseText(CharSequence text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLTextFormatter

public HTMLTextFormatter()
Method Detail

append

public CharSequence append(CharSequence text)
Specified by:
append in interface ITextFormatter

appendBold

public CharSequence appendBold(CharSequence text)
Specified by:
appendBold in interface ITextFormatter

appendColored

public CharSequence appendColored(CharSequence text,
                                  Color color)
Specified by:
appendColored in interface ITextFormatter

appendItalic

public CharSequence appendItalic(CharSequence text)
Specified by:
appendItalic in interface ITextFormatter

appendMonospaced

public CharSequence appendMonospaced(CharSequence text)
Specified by:
appendMonospaced in interface ITextFormatter

appendSubscript

public CharSequence appendSubscript(CharSequence text)
Specified by:
appendSubscript in interface ITextFormatter

appendSuperscript

public CharSequence appendSuperscript(CharSequence text)
Specified by:
appendSuperscript in interface ITextFormatter

appendUnderlined

public CharSequence appendUnderlined(CharSequence text)
Specified by:
appendUnderlined in interface ITextFormatter

appendStrikeThrough

public CharSequence appendStrikeThrough(CharSequence text)
Specified by:
appendStrikeThrough in interface ITextFormatter

encloseText

public CharSequence encloseText(CharSequence text)
Specified by:
encloseText in interface ITextFormatter


Copyright © 2007-2011. All Rights Reserved.