public class RichTextAreaImplMozilla extends RichTextAreaImplStandard
initializing
elem, owner
Constructor and Description |
---|
RichTextAreaImplMozilla() |
Modifier and Type | Method and Description |
---|---|
String |
getBackColor()
Gets the background color.
|
void |
initElement() |
void |
setBackColor(String color)
Sets the background color.
|
protected void |
setFirstFocusImpl()
Firefox will not display the caret the first time a RichTextArea is
programmatically focused, so we need to focus, blur, and refocus the
RichTextArea.
|
protected void |
setFocusImpl(boolean focused) |
createElement, createLink, getForeColor, getHTML, getHTMLImpl, getText, getTextImpl, hookEvents, insertHorizontalRule, insertHTML, insertImage, insertOrderedList, insertUnorderedList, isBold, isEnabled, isEnabledImpl, isItalic, isStrikethrough, isSubscript, isSuperscript, isUnderlined, leftIndent, onElementInitialized, onElementInitializing, redo, removeFormat, removeLink, rightIndent, selectAll, setEnabled, setEnabledImpl, setFocus, setFontName, setFontSize, setForeColor, setHTML, setHTMLImpl, setJustification, setText, setTextImpl, toggleBold, toggleItalic, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleUnderline, undo, unhookEvents, uninitElement
getElement, setOwner, setWidget
public String getBackColor()
RichTextArea.Formatter
getBackColor
in interface RichTextArea.BasicFormatter
getBackColor
in interface RichTextArea.Formatter
getBackColor
in class RichTextAreaImplStandard
public void initElement()
initElement
in class RichTextAreaImplStandard
public void setBackColor(String color)
RichTextArea.Formatter
setBackColor
in interface RichTextArea.BasicFormatter
setBackColor
in interface RichTextArea.Formatter
setBackColor
in class RichTextAreaImplStandard
color
- the new background colorprotected void setFirstFocusImpl()
protected void setFocusImpl(boolean focused)
setFocusImpl
in class RichTextAreaImplStandard
Copyright © 2018. All rights reserved.