public class UiWidgetAdapterGwtRichTextField extends UiWidgetAdapterGwtField<com.google.gwt.user.client.ui.FlowPanel,String,String> implements UiWidgetAdapterRichTextField
UiWidgetAdapterRichTextField using GWT based on RichTextArea.| Modifier and Type | Class and Description |
|---|---|
static class |
UiWidgetAdapterGwtRichTextField.MyRichTextArea
This inner class makes
RichTextArea implement HasValue. |
| Modifier and Type | Field and Description |
|---|---|
private UiWidgetAdapterGwtRichTextField.MyRichTextArea |
richTextArea |
private RichTextToolbar |
richTextToolbar |
TAB_INDEX_NONEHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYPROPERTY_LABELATTRIBUTE_COLSPAN| Constructor and Description |
|---|
UiWidgetAdapterGwtRichTextField()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gwt.user.client.ui.FlowPanel |
createActiveWidget() |
UiWidgetAdapterGwtRichTextField.MyRichTextArea |
getRichTextArea() |
RichTextToolbar |
getRichTextToolbar() |
protected com.google.gwt.user.client.ui.Focusable |
getWidgetAsFocusable() |
protected com.google.gwt.event.dom.client.HasAllFocusHandlers |
getWidgetAsHasAllFocusHandlers() |
protected com.google.gwt.event.dom.client.HasChangeHandlers |
getWidgetAsHasChangeHandlers() |
protected com.google.gwt.event.dom.client.HasKeyPressHandlers |
getWidgetAsKeyPressHandlers() |
protected com.google.gwt.user.client.TakesValue<String> |
getWidgetAsTakesValue() |
protected com.google.gwt.user.client.TakesValue<String> |
getWidgetAsTakesValueString() |
void |
setAvailableFeatures(RichTextFeature... features) |
void |
setEnabled(boolean enabled)
This method sets the
enabled status of this object. |
void |
setHeightInRows(int rows)
This method sets the
height in rows of this object. |
void |
setMaximumTextLength(int length)
This method sets the
maximum text length of this object. |
applyEventAdapterForChange, attachActiveWidget, convertValueToString, createToplevelWidget, createViewWidget, getActiveWidget, getInputElement, getMaximumValue, getMinimumValue, getValue, getValueAsString, getWidgetViewMode, setAdapterValueInViewMode, setMode, setValidationFailure, setValue, setValueAsString, setValueInViewMode, updateWidgetViewModeapplyEventAdapterForClick, applyEventAdapterForFocus, getKeyboardFilter, getWidgetAsHasBlurHandlers, getWidgetAsHasFocusHandlers, setAccessKey, setClickEventSender, setFocused, setKeyboardFilterdispose, removeFromParentaddHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisibleapplyEventAdapter, applyEventAdapterForSelection, getEventAdapter, setEventSendercreateLabel, getAccessKey, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setParent, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValuegetValuesetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuregetMaximumTextLengthsetKeyboardFiltergetKeyboardFiltergetHeightInRowsprivate UiWidgetAdapterGwtRichTextField.MyRichTextArea richTextArea
getRichTextArea()private RichTextToolbar richTextToolbar
getRichTextToolbar()public UiWidgetAdapterGwtRichTextField()
public UiWidgetAdapterGwtRichTextField.MyRichTextArea getRichTextArea()
public RichTextToolbar getRichTextToolbar()
protected com.google.gwt.user.client.ui.FlowPanel createActiveWidget()
createActiveWidget in class UiWidgetAdapterGwtField<com.google.gwt.user.client.ui.FlowPanel,String,String>Widget that is used to display and modify the field value in
edit-mode.public void setHeightInRows(int rows)
height in rows of this object.setHeightInRows in interface AttributeWriteHeightInRowsrows - is the new value for height in text lines to set.public void setEnabled(boolean enabled)
enabled status of this object. If it is disabled, the user can
not interact with the object.setEnabled in interface AttributeWriteEnabledenabled - - if true the object will be enabled, else the object will be disabled.protected com.google.gwt.event.dom.client.HasChangeHandlers getWidgetAsHasChangeHandlers()
getWidgetAsHasChangeHandlers in class UiWidgetAdapterGwtField<com.google.gwt.user.client.ui.FlowPanel,String,String>widget as HasChangeHandlers or null if NOT
supported.protected com.google.gwt.user.client.TakesValue<String> getWidgetAsTakesValue()
getWidgetAsTakesValue in class UiWidgetAdapterGwtField<com.google.gwt.user.client.ui.FlowPanel,String,String>widget as TakesValue.protected com.google.gwt.user.client.TakesValue<String> getWidgetAsTakesValueString()
getWidgetAsTakesValueString in class UiWidgetAdapterGwtField<com.google.gwt.user.client.ui.FlowPanel,String,String>widget as TakesValue for the value type String.protected com.google.gwt.user.client.ui.Focusable getWidgetAsFocusable()
getWidgetAsFocusable in class UiWidgetAdapterGwtWidgetActive<com.google.gwt.user.client.ui.Widget>widget as Focusable or null if NOT
supported.protected com.google.gwt.event.dom.client.HasKeyPressHandlers getWidgetAsKeyPressHandlers()
getWidgetAsKeyPressHandlers in class UiWidgetAdapterGwtWidgetActive<com.google.gwt.user.client.ui.Widget>widget as HasKeyPressHandlers or null if
NOT supported.protected com.google.gwt.event.dom.client.HasAllFocusHandlers getWidgetAsHasAllFocusHandlers()
getWidgetAsHasAllFocusHandlers in class UiWidgetAdapterGwtWidgetActive<com.google.gwt.user.client.ui.Widget>widget as HasAllFocusHandlers or null if
NOT supported.public void setMaximumTextLength(int length)
maximum text length of this object. setMaximumTextLength in interface AttributeWriteMaximumTextLengthlength - is the new maximum text length to set. Use
Integer.MAX_VALUE to unset.public void setAvailableFeatures(RichTextFeature... features)
setAvailableFeatures in interface UiWidgetAdapterRichTextFieldfeatures - are the available RichTextFeatures.UiWidgetRichTextFieldCopyright © 2001–2016 mmm-Team. All rights reserved.