public class UiWidgetAdapterGwtDateField extends UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date> implements UiWidgetAdapterDateField
UiWidgetAdapterField
using GWT based on DateBox.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 |
|---|
UiWidgetAdapterGwtDateField()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gwt.user.datepicker.client.DateBox |
createActiveWidget() |
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.ui.HasValue<Date> |
getWidgetAsTakesValue() |
protected com.google.gwt.user.client.TakesValue<String> |
getWidgetAsTakesValueString() |
void |
setEnabled(boolean enabled)
This method sets the
enabled status 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, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValuegetValuesetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuregetMaximumTextLengthpublic UiWidgetAdapterGwtDateField()
protected com.google.gwt.user.datepicker.client.DateBox createActiveWidget()
createActiveWidget in class UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date>Widget that is used to display and modify the field value in
edit-mode.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.HasAllFocusHandlers getWidgetAsHasAllFocusHandlers()
getWidgetAsHasAllFocusHandlers in class UiWidgetAdapterGwtWidgetActive<com.google.gwt.user.client.ui.Widget>widget as HasAllFocusHandlers 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.HasChangeHandlers getWidgetAsHasChangeHandlers()
getWidgetAsHasChangeHandlers in class UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date>widget as HasChangeHandlers or null if NOT
supported.protected com.google.gwt.user.client.ui.HasValue<Date> getWidgetAsTakesValue()
getWidgetAsTakesValue in class UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date>widget as TakesValue.protected com.google.gwt.user.client.TakesValue<String> getWidgetAsTakesValueString()
getWidgetAsTakesValueString in class UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date>widget as TakesValue for the value type String.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.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.Copyright © 2001–2016 mmm-Team. All rights reserved.