public class ComboBox extends com.google.gwt.user.client.ui.TextBox implements AttributeWriteDataList, AttributeWriteHtmlId
com.google.gwt.user.client.ui.TextBoxBase.TextAlignConstantcom.google.gwt.user.client.ui.ValueBoxBase.TextAlignmentALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHTHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID| Constructor and Description |
|---|
ComboBox()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
This method gets the unique identifier of this object.
|
void |
setDataList(DataList dataList) |
void |
setId(String id)
This method set the
ID of this object. |
getMaxLength, getVisibleLength, setMaxLength, setVisibleLength, wrapaddChangeListener, getValue, setTextAlignmentaddChangeHandler, addValueChangeHandler, asEditor, cancelKey, getCursorPos, getDirection, getDirectionEstimator, getImpl, getName, getSelectedText, getSelectionLength, getText, getValueOrThrow, isReadOnly, onBrowserEvent, onLoad, removeChangeListener, selectAll, setAlignment, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setKey, setName, setReadOnly, setSelectionRange, setText, setValue, setValueaddBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, getTabIndex, isEnabled, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndexaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void setDataList(DataList dataList)
setDataList in interface AttributeWriteDataListdataList - is the DataList to set.public String getId()
[a-zA-Z][a-zA-Z0-9_$]*.
Invalid IDs (e.g. containing colon, hash or period) are not accepted to prevent you from later having
problems with CSS selectors.getId in interface AttributeReadHtmlIdgetId in interface AttributeReadId<String>AttributeReadHtmlId.ID_SEPARATORpublic void setId(String id)
ID of this object. Use this method to give the object a meaningful
identifier after creation. AttributeReadHtmlId.getId() for the syntax constraints of IDs.setId in interface AttributeWriteHtmlIdsetId in interface AttributeWriteId<String>id - is the new ID for the object.Copyright © 2001–2016 mmm-Team. All rights reserved.