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_NONE
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
PROPERTY_LABEL
ATTRIBUTE_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, updateWidgetViewMode
applyEventAdapterForClick, applyEventAdapterForFocus, getKeyboardFilter, getWidgetAsHasBlurHandlers, getWidgetAsHasFocusHandlers, setAccessKey, setClickEventSender, setFocused, setKeyboardFilter
dispose, removeFromParent
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisible
applyEventAdapter, applyEventAdapterForSelection, getEventAdapter, setEventSender
createLabel, 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, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
isFocused
setFocused
setAccessKey
getAccessKey
setValue
getValue
setValueAsString
getValueAsString
setValidationFailure
getValidationFailure
getMaximumTextLength
setKeyboardFilter
getKeyboardFilter
getHeightInRows
private 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 AttributeWriteHeightInRows
rows
- 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 AttributeWriteEnabled
enabled
- - 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 AttributeWriteMaximumTextLength
length
- is the new maximum text length
to set. Use
Integer.MAX_VALUE
to unset.public void setAvailableFeatures(RichTextFeature... features)
setAvailableFeatures
in interface UiWidgetAdapterRichTextField
features
- are the available RichTextFeature
s.UiWidgetRichTextField
Copyright © 2001–2016 mmm-Team. All rights reserved.