public class VNativeSelect extends VOptionGroupBase implements Field
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
protected com.google.gwt.user.client.ui.ListBox |
select |
CLASSNAME_OPTION, client, cols, container, immediate, multiselect, newItemButton, newItemField, nullSelectionAllowed, nullSelectionItemAvailable, optionsContainer, paintableId, rows, selectedKeys
Constructor and Description |
---|
VNativeSelect() |
Modifier and Type | Method and Description |
---|---|
void |
buildOptions(UIDL uidl)
For internal use only.
|
void |
focus()
Sets focus to this widget.
|
protected com.google.gwt.user.client.ui.ListBox |
getOptionsContainer() |
com.google.gwt.user.client.ui.ListBox |
getSelect() |
protected String[] |
getSelectedItems() |
void |
onChange(com.google.gwt.event.dom.client.ChangeEvent event) |
void |
setHeight(String height) |
void |
setTabIndex(int tabIndex) |
void |
setWidth(String width) |
protected void |
updateEnabledState() |
getColumns, getRows, getSelectedItem, isEnabled, isImmediate, isMultiselect, isNullSelectionAllowed, isNullSelectionItemAvailable, isReadonly, onClick, onKeyPress, setEnabled, setReadonly
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
public static final String CLASSNAME
protected com.google.gwt.user.client.ui.ListBox select
protected com.google.gwt.user.client.ui.ListBox getOptionsContainer()
public void buildOptions(UIDL uidl)
VOptionGroupBase
buildOptions
in class VOptionGroupBase
protected String[] getSelectedItems()
getSelectedItems
in class VOptionGroupBase
public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange
in interface com.google.gwt.event.dom.client.ChangeHandler
onChange
in class VOptionGroupBase
public void setHeight(String height)
setHeight
in class com.google.gwt.user.client.ui.UIObject
public void setWidth(String width)
setWidth
in class com.google.gwt.user.client.ui.UIObject
public void setTabIndex(int tabIndex)
setTabIndex
in class VOptionGroupBase
protected void updateEnabledState()
updateEnabledState
in class VOptionGroupBase
public void focus()
Focusable
public com.google.gwt.user.client.ui.ListBox getSelect()
Copyright © 2019 Vaadin Ltd. All rights reserved.