Interface RichTextArea.Formatter

All Superinterfaces:
RichTextArea.BasicFormatter, RichTextArea.ExtendedFormatter
Enclosing class:
RichTextArea

public static interface RichTextArea.Formatter extends RichTextArea.ExtendedFormatter

This interface is used to access full formatting options, when available. If the implementation supports full formatting, then RichTextArea.getFormatter() will return an instance of this class.

The formatter will format the user selected text in the RichTextArea. As a result, it will only work reliably if the RichTextArea is attached, visible to on the page, and has been focused at least once. If you just want to initialize the content of the RichTextArea, use RichTextArea.setHTML(String) instead.