|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.gcube.portlets.user.reportgenerator.client.toolbar.RichTextToolbar
public class RichTextToolbar
A sample toolbar for use with RichTextArea
. It provides a simple UI
for all rich text formatting, dynamically displayed only for the available
functionality.
Nested Class Summary | |
---|---|
static interface |
RichTextToolbar.Strings
This Constants interface is used to make the toolbar's strings
internationalizable. |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText,
HashMap<String,com.google.gwt.user.client.Command> commands,
boolean isVme)
Creates a new toolbar that drives the given rich text area. |
Method Summary | |
---|---|
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 |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, 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, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RichTextToolbar(com.google.gwt.user.client.ui.RichTextArea richText, HashMap<String,com.google.gwt.user.client.Command> commands, boolean isVme)
richText
- the rich text area to be controlleduseOnePanel
- if true display all the bottons on one panelcommands
- the Commands to callMethod Detail |
---|
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |