public class RichTextToolbar
extends com.google.gwt.user.client.ui.Composite
RichTextArea. It provides a simple UI
for all rich text formatting, dynamically displayed only for the available
functionality.| Modifier and Type | Class and Description |
|---|---|
static interface |
RichTextToolbar.Strings
This
Constants interface is used to make the toolbar's strings
internationalizable. |
| Constructor and Description |
|---|
RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText)
Creates a new toolbar that drives the given rich text area.
|
RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText,
boolean useOnePanel,
HashMap<String,com.google.gwt.user.client.Command> commands,
boolean isReports)
Creates a new toolbar that drives the given rich text area.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableCommands(boolean enable) |
com.google.gwt.user.client.ui.RichTextArea.ExtendedFormatter |
getExtendedFormatter() |
com.google.gwt.user.client.ui.RichTextArea |
getRichTextArea() |
void |
setEnabled(boolean enable)
set the buttons enable or not
|
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, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, toString, unsinkEventspublic RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText)
richText - the rich text area to be controlledpublic RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText,
boolean useOnePanel,
HashMap<String,com.google.gwt.user.client.Command> commands,
boolean isReports)
richText - the rich text area to be controlleduseOnePanel - if true display all the bottons on one panelcommands - the Commands to callpublic void setEnabled(boolean enable)
enable - true to enable the widget, false to disable itpublic void enableCommands(boolean enable)
public com.google.gwt.user.client.ui.RichTextArea.ExtendedFormatter getExtendedFormatter()
public com.google.gwt.user.client.ui.RichTextArea getRichTextArea()
Copyright © 2015. All Rights Reserved.