Package com.google.gwt.user.client.ui
Interface RichTextArea.ExtendedFormatter
-
- All Superinterfaces:
RichTextArea.BasicFormatter
- All Known Subinterfaces:
RichTextArea.Formatter
- Enclosing class:
- RichTextArea
@Deprecated public static interface RichTextArea.ExtendedFormatter extends RichTextArea.BasicFormatter
Deprecated.useRichTextArea.FormatterinsteadThis interface is used to access full formatting options, when available. If the implementation supports full formatting, then
RichTextArea.getExtendedFormatter()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 theRichTextAreais attached, visible to on the page, and has been focused at least once. If you just want to initialize the content of theRichTextArea, useRichTextArea.setHTML(String)instead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcreateLink(java.lang.String url)Deprecated.Creates a link to the supplied URL.voidinsertHorizontalRule()Deprecated.Inserts a horizontal rule.voidinsertImage(java.lang.String url)Deprecated.Inserts an image element.voidinsertOrderedList()Deprecated.Starts an numbered list.voidinsertUnorderedList()Deprecated.Starts an bulleted list.booleanisStrikethrough()Deprecated.Is the current region strikethrough?voidleftIndent()Deprecated.Left indent.voidremoveFormat()Deprecated.Removes all formatting on the selected text.voidremoveLink()Deprecated.Removes any link from the selected text.voidrightIndent()Deprecated.Right indent.voidtoggleStrikethrough()Deprecated.Toggles strikethrough.-
Methods inherited from interface com.google.gwt.user.client.ui.RichTextArea.BasicFormatter
getBackColor, getForeColor, isBold, isItalic, isSubscript, isSuperscript, isUnderlined, selectAll, setBackColor, setFontName, setFontSize, setForeColor, setJustification, toggleBold, toggleItalic, toggleSubscript, toggleSuperscript, toggleUnderline
-
-
-
-
Method Detail
-
createLink
void createLink(java.lang.String url)
Deprecated.Creates a link to the supplied URL.- Parameters:
url- the URL to be linked to
-
insertHorizontalRule
void insertHorizontalRule()
Deprecated.Inserts a horizontal rule.
-
insertImage
void insertImage(java.lang.String url)
Deprecated.Inserts an image element.- Parameters:
url- the url of the image to be inserted
-
insertOrderedList
void insertOrderedList()
Deprecated.Starts an numbered list. Indentation will create nested items.
-
insertUnorderedList
void insertUnorderedList()
Deprecated.Starts an bulleted list. Indentation will create nested items.
-
isStrikethrough
boolean isStrikethrough()
Deprecated.Is the current region strikethrough?- Returns:
- true if the current region is strikethrough
-
leftIndent
void leftIndent()
Deprecated.Left indent.
-
removeFormat
void removeFormat()
Deprecated.Removes all formatting on the selected text.
-
removeLink
void removeLink()
Deprecated.Removes any link from the selected text.
-
rightIndent
void rightIndent()
Deprecated.Right indent.
-
toggleStrikethrough
void toggleStrikethrough()
Deprecated.Toggles strikethrough.
-
-