Package com.vaadin.client.ui
Class VListSelect
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- com.vaadin.client.ui.VOptionGroupBase
-
- com.vaadin.client.ui.VListSelect
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.ChangeHandler
,com.google.gwt.event.dom.client.ClickHandler
,com.google.gwt.event.dom.client.KeyPressHandler
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.EventHandler
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,Focusable
,Field
public class VListSelect extends VOptionGroupBase
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSNAME
protected com.google.gwt.user.client.ui.ListBox
select
-
Fields inherited from class com.vaadin.client.ui.VOptionGroupBase
CLASSNAME_OPTION, client, cols, container, immediate, multiselect, newItemButton, newItemField, nullSelectionAllowed, nullSelectionItemAvailable, optionsContainer, paintableId, rows, selectedKeys
-
-
Constructor Summary
Constructors Constructor Description VListSelect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
protected String[]
getSelectedItems()
void
onChange(com.google.gwt.event.dom.client.ChangeEvent event)
void
setHeight(String height)
void
setStyleName(String style)
void
setStylePrimaryName(String style)
void
setTabIndex(int tabIndex)
void
setWidth(String width)
protected void
updateEnabledState()
protected void
updateStyleNames()
-
Methods inherited from class com.vaadin.client.ui.VOptionGroupBase
getColumns, getRows, getSelectedItem, isEnabled, isImmediate, isMultiselect, isNullSelectionAllowed, isNullSelectionItemAvailable, isReadonly, onClick, onKeyPress, setEnabled, setReadonly
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
-
-
-
-
Field Detail
-
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
-
select
protected com.google.gwt.user.client.ui.ListBox select
-
-
Method Detail
-
setStyleName
public void setStyleName(String style)
- Overrides:
setStyleName
in classcom.google.gwt.user.client.ui.UIObject
-
setStylePrimaryName
public void setStylePrimaryName(String style)
- Overrides:
setStylePrimaryName
in classcom.google.gwt.user.client.ui.UIObject
-
updateStyleNames
protected void updateStyleNames()
-
getOptionsContainer
protected com.google.gwt.user.client.ui.ListBox getOptionsContainer()
-
buildOptions
public void buildOptions(UIDL uidl)
Description copied from class:VOptionGroupBase
For internal use only. May be removed or replaced in the future.- Specified by:
buildOptions
in classVOptionGroupBase
-
getSelectedItems
protected String[] getSelectedItems()
- Specified by:
getSelectedItems
in classVOptionGroupBase
-
onChange
public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
- Specified by:
onChange
in interfacecom.google.gwt.event.dom.client.ChangeHandler
- Overrides:
onChange
in classVOptionGroupBase
-
setHeight
public void setHeight(String height)
- Overrides:
setHeight
in classcom.google.gwt.user.client.ui.UIObject
-
setWidth
public void setWidth(String width)
- Overrides:
setWidth
in classcom.google.gwt.user.client.ui.UIObject
-
setTabIndex
public void setTabIndex(int tabIndex)
- Specified by:
setTabIndex
in classVOptionGroupBase
-
updateEnabledState
protected void updateEnabledState()
- Specified by:
updateEnabledState
in classVOptionGroupBase
-
focus
public void focus()
Description copied from interface:Focusable
Sets focus to this widget.
-
-