Package com.vaadin.v7.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.v7.client.ui.VOptionGroupBase
-
- com.vaadin.v7.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 StringCLASSNAMEprotected com.google.gwt.user.client.ui.ListBoxselect-
Fields inherited from class com.vaadin.v7.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 voidbuildOptions(UIDL uidl)For internal use only.voidfocus()protected com.google.gwt.user.client.ui.ListBoxgetOptionsContainer()protected String[]getSelectedItems()voidonChange(com.google.gwt.event.dom.client.ChangeEvent event)voidsetHeight(String height)voidsetStyleName(String style)voidsetStylePrimaryName(String style)voidsetTabIndex(int tabIndex)voidsetWidth(String width)protected voidupdateEnabledState()protected voidupdateStyleNames()-
Methods inherited from class com.vaadin.v7.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:
setStyleNamein classcom.google.gwt.user.client.ui.UIObject
-
setStylePrimaryName
public void setStylePrimaryName(String style)
- Overrides:
setStylePrimaryNamein 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:VOptionGroupBaseFor internal use only. May be removed or replaced in the future.- Specified by:
buildOptionsin classVOptionGroupBase
-
getSelectedItems
protected String[] getSelectedItems()
- Specified by:
getSelectedItemsin classVOptionGroupBase
-
onChange
public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
- Specified by:
onChangein interfacecom.google.gwt.event.dom.client.ChangeHandler- Overrides:
onChangein classVOptionGroupBase
-
setHeight
public void setHeight(String height)
- Overrides:
setHeightin classcom.google.gwt.user.client.ui.UIObject
-
setWidth
public void setWidth(String width)
- Overrides:
setWidthin classcom.google.gwt.user.client.ui.UIObject
-
setTabIndex
public void setTabIndex(int tabIndex)
- Specified by:
setTabIndexin classVOptionGroupBase
-
updateEnabledState
protected void updateEnabledState()
- Specified by:
updateEnabledStatein classVOptionGroupBase
-
focus
public void focus()
-
-