|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This 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.
Method Summary | |
void |
createLink(java.lang.String url)
Creates a link to the supplied URL. |
void |
insertHorizontalRule()
Inserts a horizontal rule. |
void |
insertImage(java.lang.String url)
Inserts an image element. |
void |
insertOrderedList()
Starts an numbered list. |
void |
insertUnorderedList()
Starts an bulleted list. |
boolean |
isStrikethrough()
Is the current region strikethrough? |
void |
leftIndent()
Left indent. |
void |
removeFormat()
Removes all formatting on the selected text. |
void |
removeLink()
Removes any link from the selected text. |
void |
rightIndent()
Right indent. |
void |
toggleStrikethrough()
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 |
public void createLink(java.lang.String url)
url
- the URL to be linked topublic void insertHorizontalRule()
public void insertImage(java.lang.String url)
url
- the url of the image to be insertedpublic void insertOrderedList()
public void insertUnorderedList()
public boolean isStrikethrough()
public void leftIndent()
public void removeFormat()
public void removeLink()
public void rightIndent()
public void toggleStrikethrough()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |