|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.impl.RichTextAreaImpl
com.google.gwt.user.client.ui.impl.RichTextAreaImplStandard
public abstract class RichTextAreaImplStandard
Basic rich text platform implementation.
| Constructor Summary | |
|---|---|
RichTextAreaImplStandard()
|
|
| Method Summary | |
|---|---|
Element |
createElement()
|
void |
createLink(java.lang.String url)
Creates a link to the supplied URL. |
java.lang.String |
getBackColor()
Gets the background color. |
java.lang.String |
getForeColor()
Gets the foreground color. |
java.lang.String |
getHTML()
|
java.lang.String |
getText()
|
void |
initElement()
|
void |
insertHorizontalRule()
Inserts a horizontal rule. |
void |
insertHTML(java.lang.String html)
Inserts generic html. |
void |
insertImage(java.lang.String url)
Inserts an image element. |
void |
insertOrderedList()
Starts an numbered list. |
void |
insertUnorderedList()
Starts an bulleted list. |
boolean |
isBold()
Is the current region bold? |
boolean |
isEnabled()
|
boolean |
isItalic()
Is the current region italic? |
boolean |
isStrikethrough()
Is the current region strikethrough? |
boolean |
isSubscript()
Is the current region subscript? |
boolean |
isSuperscript()
Is the current region superscript? |
boolean |
isUnderlined()
Is the current region underlined? |
void |
leftIndent()
Left indent. |
void |
redo()
Redo an action that was just undone. |
void |
removeFormat()
Removes all formatting on the selected text. |
void |
removeLink()
Removes any link from the selected text. |
void |
rightIndent()
Right indent. |
void |
selectAll()
Selects all the text. |
void |
setBackColor(java.lang.String color)
Sets the background color. |
void |
setEnabled(boolean enabled)
|
void |
setFocus(boolean focused)
|
void |
setFontName(java.lang.String name)
Sets the font name. |
void |
setFontSize(RichTextArea.FontSize fontSize)
Sets the font size. |
void |
setForeColor(java.lang.String color)
Sets the foreground color. |
void |
setHTML(java.lang.String html)
|
void |
setJustification(RichTextArea.Justification justification)
Sets the justification. |
void |
setText(java.lang.String text)
|
void |
toggleBold()
Toggles bold. |
void |
toggleItalic()
Toggles italic. |
void |
toggleStrikethrough()
Toggles strikethrough. |
void |
toggleSubscript()
Toggles subscript. |
void |
toggleSuperscript()
Toggles superscript. |
void |
toggleUnderline()
Toggles underline. |
void |
undo()
Undo the last action. |
void |
uninitElement()
|
| Methods inherited from class com.google.gwt.user.client.ui.impl.RichTextAreaImpl |
|---|
getElement, setOwner, setWidget |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RichTextAreaImplStandard()
| Method Detail |
|---|
public Element createElement()
public void createLink(java.lang.String url)
RichTextArea.ExtendedFormatter
createLink in interface RichTextArea.ExtendedFormattercreateLink in interface RichTextArea.Formatterurl - the URL to be linked topublic java.lang.String getBackColor()
RichTextArea.BasicFormatter
getBackColor in interface RichTextArea.BasicFormattergetBackColor in interface RichTextArea.Formatterpublic java.lang.String getForeColor()
RichTextArea.BasicFormatter
getForeColor in interface RichTextArea.BasicFormattergetForeColor in interface RichTextArea.Formatterpublic final java.lang.String getHTML()
getHTML in class RichTextAreaImplpublic final java.lang.String getText()
getText in class RichTextAreaImplpublic void initElement()
initElement in class RichTextAreaImplpublic void insertHorizontalRule()
RichTextArea.ExtendedFormatter
insertHorizontalRule in interface RichTextArea.ExtendedFormatterinsertHorizontalRule in interface RichTextArea.Formatterpublic void insertHTML(java.lang.String html)
RichTextArea.Formatter
insertHTML in interface RichTextArea.Formatterhtml - the HTML to insertpublic void insertImage(java.lang.String url)
RichTextArea.ExtendedFormatter
insertImage in interface RichTextArea.ExtendedFormatterinsertImage in interface RichTextArea.Formatterurl - the url of the image to be insertedpublic void insertOrderedList()
RichTextArea.ExtendedFormatter
insertOrderedList in interface RichTextArea.ExtendedFormatterinsertOrderedList in interface RichTextArea.Formatterpublic void insertUnorderedList()
RichTextArea.ExtendedFormatter
insertUnorderedList in interface RichTextArea.ExtendedFormatterinsertUnorderedList in interface RichTextArea.Formatterpublic boolean isBold()
RichTextArea.BasicFormatter
isBold in interface RichTextArea.BasicFormatterisBold in interface RichTextArea.Formatterpublic boolean isEnabled()
isEnabled in class RichTextAreaImplpublic boolean isItalic()
RichTextArea.BasicFormatter
isItalic in interface RichTextArea.BasicFormatterisItalic in interface RichTextArea.Formatterpublic boolean isStrikethrough()
RichTextArea.ExtendedFormatter
isStrikethrough in interface RichTextArea.ExtendedFormatterisStrikethrough in interface RichTextArea.Formatterpublic boolean isSubscript()
RichTextArea.BasicFormatter
isSubscript in interface RichTextArea.BasicFormatterisSubscript in interface RichTextArea.Formatterpublic boolean isSuperscript()
RichTextArea.BasicFormatter
isSuperscript in interface RichTextArea.BasicFormatterisSuperscript in interface RichTextArea.Formatterpublic boolean isUnderlined()
RichTextArea.BasicFormatter
isUnderlined in interface RichTextArea.BasicFormatterisUnderlined in interface RichTextArea.Formatterpublic void leftIndent()
RichTextArea.ExtendedFormatter
leftIndent in interface RichTextArea.ExtendedFormatterleftIndent in interface RichTextArea.Formatterpublic void redo()
RichTextArea.Formatter
redo in interface RichTextArea.Formatterpublic void removeFormat()
RichTextArea.ExtendedFormatter
removeFormat in interface RichTextArea.ExtendedFormatterremoveFormat in interface RichTextArea.Formatterpublic void removeLink()
RichTextArea.ExtendedFormatter
removeLink in interface RichTextArea.ExtendedFormatterremoveLink in interface RichTextArea.Formatterpublic void rightIndent()
RichTextArea.ExtendedFormatter
rightIndent in interface RichTextArea.ExtendedFormatterrightIndent in interface RichTextArea.Formatterpublic void selectAll()
RichTextArea.BasicFormatter
selectAll in interface RichTextArea.BasicFormatterselectAll in interface RichTextArea.Formatterpublic void setBackColor(java.lang.String color)
RichTextArea.BasicFormatter
setBackColor in interface RichTextArea.BasicFormattersetBackColor in interface RichTextArea.Formattercolor - the new background colorpublic void setEnabled(boolean enabled)
setEnabled in class RichTextAreaImplpublic void setFocus(boolean focused)
setFocus in class RichTextAreaImplpublic void setFontName(java.lang.String name)
RichTextArea.BasicFormatter
setFontName in interface RichTextArea.BasicFormattersetFontName in interface RichTextArea.Formattername - the new font namepublic void setFontSize(RichTextArea.FontSize fontSize)
RichTextArea.BasicFormatter
setFontSize in interface RichTextArea.BasicFormattersetFontSize in interface RichTextArea.FormatterfontSize - the new font sizepublic void setForeColor(java.lang.String color)
RichTextArea.BasicFormatter
setForeColor in interface RichTextArea.BasicFormattersetForeColor in interface RichTextArea.Formattercolor - the new foreground colorpublic final void setHTML(java.lang.String html)
setHTML in class RichTextAreaImplpublic void setJustification(RichTextArea.Justification justification)
RichTextArea.BasicFormatter
setJustification in interface RichTextArea.BasicFormattersetJustification in interface RichTextArea.Formatterjustification - the new justificationpublic final void setText(java.lang.String text)
setText in class RichTextAreaImplpublic void toggleBold()
RichTextArea.BasicFormatter
toggleBold in interface RichTextArea.BasicFormattertoggleBold in interface RichTextArea.Formatterpublic void toggleItalic()
RichTextArea.BasicFormatter
toggleItalic in interface RichTextArea.BasicFormattertoggleItalic in interface RichTextArea.Formatterpublic void toggleStrikethrough()
RichTextArea.ExtendedFormatter
toggleStrikethrough in interface RichTextArea.ExtendedFormattertoggleStrikethrough in interface RichTextArea.Formatterpublic void toggleSubscript()
RichTextArea.BasicFormatter
toggleSubscript in interface RichTextArea.BasicFormattertoggleSubscript in interface RichTextArea.Formatterpublic void toggleSuperscript()
RichTextArea.BasicFormatter
toggleSuperscript in interface RichTextArea.BasicFormattertoggleSuperscript in interface RichTextArea.Formatterpublic void toggleUnderline()
RichTextArea.BasicFormatter
toggleUnderline in interface RichTextArea.BasicFormattertoggleUnderline in interface RichTextArea.Formatterpublic void undo()
RichTextArea.Formatter
undo in interface RichTextArea.Formatterpublic void uninitElement()
uninitElement in class RichTextAreaImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||