public class UiWidgetAdapterGwtDateField extends UiWidgetAdapterGwtField<com.google.gwt.user.datepicker.client.DateBox,Date,Date> implements UiWidgetAdapterDateField
UiWidgetAdapterField
using GWT based on DateBox
.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 |
---|
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, 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
public 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 AttributeWriteEnabled
enabled
- - 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 AttributeWriteMaximumTextLength
length
- is the new maximum text length
to set. Use
Integer.MAX_VALUE
to unset.Copyright © 2001–2016 mmm-Team. All rights reserved.