|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RichTextArea.Formatter
instead
@Deprecated public static interface RichTextArea.BasicFormatter
This interface is used to access basic formatting options, when available.
If the implementation supports basic formatting, then
RichTextArea.getBasicFormatter()
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.
Method Summary | |
---|---|
java.lang.String |
getBackColor()
Deprecated. Gets the background color. |
java.lang.String |
getForeColor()
Deprecated. Gets the foreground color. |
boolean |
isBold()
Deprecated. Is the current region bold? |
boolean |
isItalic()
Deprecated. Is the current region italic? |
boolean |
isSubscript()
Deprecated. Is the current region subscript? |
boolean |
isSuperscript()
Deprecated. Is the current region superscript? |
boolean |
isUnderlined()
Deprecated. Is the current region underlined? |
void |
selectAll()
Deprecated. Selects all the text. |
void |
setBackColor(java.lang.String color)
Deprecated. Sets the background color. |
void |
setFontName(java.lang.String name)
Deprecated. Sets the font name. |
void |
setFontSize(RichTextArea.FontSize fontSize)
Deprecated. Sets the font size. |
void |
setForeColor(java.lang.String color)
Deprecated. Sets the foreground color. |
void |
setJustification(RichTextArea.Justification justification)
Deprecated. Sets the justification. |
void |
toggleBold()
Deprecated. Toggles bold. |
void |
toggleItalic()
Deprecated. Toggles italic. |
void |
toggleSubscript()
Deprecated. Toggles subscript. |
void |
toggleSuperscript()
Deprecated. Toggles superscript. |
void |
toggleUnderline()
Deprecated. Toggles underline. |
Method Detail |
---|
java.lang.String getBackColor()
java.lang.String getForeColor()
boolean isBold()
boolean isItalic()
boolean isSubscript()
boolean isSuperscript()
boolean isUnderlined()
void selectAll()
void setBackColor(java.lang.String color)
color
- the new background colorvoid setFontName(java.lang.String name)
name
- the new font namevoid setFontSize(RichTextArea.FontSize fontSize)
fontSize
- the new font sizevoid setForeColor(java.lang.String color)
color
- the new foreground colorvoid setJustification(RichTextArea.Justification justification)
justification
- the new justificationvoid toggleBold()
void toggleItalic()
void toggleSubscript()
void toggleSuperscript()
void toggleUnderline()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |