public class RichTextEditor
extends com.google.gwt.user.client.ui.Composite
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.FlowPanel |
container
The UI container.
|
protected LoadingPanel |
loadingPanel
The panel used to indicate the loading state of the editor.
|
protected com.google.gwt.user.client.ui.MenuBar |
menu
The menu bar.
|
protected RichTextArea |
textArea
The rich text area.
|
protected ToolBar |
toolbar
The tool bar.
|
| Constructor and Description |
|---|
RichTextEditor()
Creates a new rich text editor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.FlowPanel |
getContainer() |
com.google.gwt.user.client.ui.MenuBar |
getMenu() |
RichTextArea |
getTextArea() |
ToolBar |
getToolbar() |
boolean |
isLoading() |
protected void |
onLoad() |
void |
setLoading(boolean loading)
Set the editor loading state.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringprotected com.google.gwt.user.client.ui.MenuBar menu
protected ToolBar toolbar
protected final RichTextArea textArea
protected final LoadingPanel loadingPanel
protected final com.google.gwt.user.client.ui.FlowPanel container
public com.google.gwt.user.client.ui.MenuBar getMenu()
public ToolBar getToolbar()
public RichTextArea getTextArea()
public com.google.gwt.user.client.ui.FlowPanel getContainer()
public void setLoading(boolean loading)
loading - true to display the editor in loading mode, false to remove the loading mode.public boolean isLoading()
true if this rich text editor is currently in loading state, false otherwiseprotected void onLoad()
onLoad in class com.google.gwt.user.client.ui.WidgetCopyright © 2004–2017 XWiki. All rights reserved.