public static class UiWidgetAdapterGwtRichTextField.MyRichTextArea extends com.google.gwt.user.client.ui.RichTextArea implements com.google.gwt.user.client.ui.HasValue<String>, com.google.gwt.event.dom.client.HasChangeHandlers, com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.BlurHandler
RichTextArea
implement HasValue
.com.google.gwt.user.client.ui.RichTextArea.BasicFormatter, com.google.gwt.user.client.ui.RichTextArea.ExtendedFormatter, com.google.gwt.user.client.ui.RichTextArea.FontSize, com.google.gwt.user.client.ui.RichTextArea.Formatter, com.google.gwt.user.client.ui.RichTextArea.Justification
Modifier and Type | Field and Description |
---|---|
private com.google.gwt.event.shared.HandlerRegistration |
changeHandlerRegistration |
private static String |
STYLE_RICH_TEXT_AREA_FOCUSED
The CSS style name if the rich-text-area is focused.
|
Constructor and Description |
---|
MyRichTextArea()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) |
String |
getValue() |
void |
onBlur(com.google.gwt.event.dom.client.BlurEvent event) |
void |
onFocus(com.google.gwt.event.dom.client.FocusEvent event) |
void |
setValue(String value) |
void |
setValue(String value,
boolean fireEvents) |
addInitializeHandler, getBasicFormatter, getExtendedFormatter, getFormatter, getHTML, getText, isEnabled, onAttach, onDetach, setEnabled, setFocus, setHTML, setHTML, setText
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, getTabIndex, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setTabIndex
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
private static final String STYLE_RICH_TEXT_AREA_FOCUSED
private com.google.gwt.event.shared.HandlerRegistration changeHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
addValueChangeHandler
in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
public com.google.gwt.event.shared.HandlerRegistration addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler)
addChangeHandler
in interface com.google.gwt.event.dom.client.HasChangeHandlers
public String getValue()
public void setValue(String value)
public void setValue(String value, boolean fireEvents)
setValue
in interface com.google.gwt.user.client.ui.HasValue<String>
public void onFocus(com.google.gwt.event.dom.client.FocusEvent event)
onFocus
in interface com.google.gwt.event.dom.client.FocusHandler
public void onBlur(com.google.gwt.event.dom.client.BlurEvent event)
onBlur
in interface com.google.gwt.event.dom.client.BlurHandler
Copyright © 2001–2016 mmm-Team. All rights reserved.