VALUE - is the generic type of the changed value.public class UiWidgetAdapterGwtComboBoxField<VALUE> extends UiWidgetAdapterGwtFieldFocusWidgetBase<ComboBox,VALUE,String> implements UiWidgetAdapterComboboxField<VALUE>
UiWidgetAdapterComboboxField using GWT based on a ComboBox
and a DataList.| Modifier and Type | Field and Description |
|---|---|
private DataList |
dataList |
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 |
|---|
UiWidgetAdapterGwtComboBoxField()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attachActiveWidget(com.google.gwt.user.client.ui.ComplexPanel panel)
|
protected ComboBox |
createActiveWidget() |
protected DataList |
getDataList() |
List<String> |
getOptions()
This method gets the options of this object.
|
protected com.google.gwt.user.client.ui.HasValue<String> |
getWidgetAsTakesValue() |
protected com.google.gwt.user.client.TakesValue<String> |
getWidgetAsTakesValueString() |
void |
setOptions(List<String> options)
This method sets the
options of this object. |
getWidgetAsFocusable, getWidgetAsHasAllFocusHandlers, getWidgetAsHasChangeHandlers, getWidgetAsKeyPressHandlers, setEnabledapplyEventAdapterForChange, 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, setVisiblesetIdgetIdsetTooltipgetTooltipsetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributeisFocusedsetFocusedsetAccessKeygetAccessKeysetValuegetValuesetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailureprivate DataList dataList
createActiveWidget()public UiWidgetAdapterGwtComboBoxField()
protected ComboBox createActiveWidget()
createActiveWidget in class UiWidgetAdapterGwtField<ComboBox,VALUE,String>Widget that is used to display and modify the field value in
edit-mode.protected void attachActiveWidget(com.google.gwt.user.client.ui.ComplexPanel panel)
active widget after creation to
AbstractUiWidgetAdapter.getToplevelWidget(). May be overridden for composed active widgets.attachActiveWidget in class UiWidgetAdapterGwtField<ComboBox,VALUE,String>panel - is the ComplexPanel (see AbstractUiWidgetAdapter.getToplevelWidget()) where to
attach.public List<String> getOptions()
List shall not contain duplicate entries. It may contain the value
null.getOptions in interface AttributeReadOptions<String>List with all available options.public void setOptions(List<String> options)
options of this object. The options will be presented in their
order specified by the given List.setOptions in interface AttributeWriteOptions<String>options - is the new List of available options.protected com.google.gwt.user.client.ui.HasValue<String> getWidgetAsTakesValue()
getWidgetAsTakesValue in class UiWidgetAdapterGwtField<ComboBox,VALUE,String>widget as TakesValue.protected com.google.gwt.user.client.TakesValue<String> getWidgetAsTakesValueString()
getWidgetAsTakesValueString in class UiWidgetAdapterGwtField<ComboBox,VALUE,String>widget as TakesValue for the value type String.Copyright © 2001–2016 mmm-Team. All rights reserved.