public class WMultiselectComboBox extends WAbstractMultiSelect<Object>
WAbstractMultiSelect.SetHolderConverter
WAbstractSelect.VariantConverter
ComponentWithValue.ValueChangeListenerImpl, ComponentWithValue.ValueProperty<T>
options, PROPERTY_CAPTION, widgetConfigured
refreshing
form, INTERNAL_STATE_RECORD_PROPERTY
Constructor and Description |
---|
WMultiselectComboBox() |
Modifier and Type | Method and Description |
---|---|
protected IVaadinContainerDataSourceAdapter |
createDataSource(RecordHolder dataSource,
RecordHolder captionValueProvider)
Called to obtain a data source which will provide available options (row objects) to the select component.
|
protected com.vaadin.ui.AbstractSelect |
createWidget()
Called once, to create the actual Vaadin component.
|
String |
getInputPrompt()
Gets the current input prompt.
|
Decimal |
getPageLength()
Gets the length of the popup page
|
com.whitestein.lsps.vaadin.extensions.ComboBoxMultiselect |
getWidget()
Gets the Vaadin representation of this component.
|
boolean |
isNullSelectionAllowed()
Checks if null empty selection is allowed by the user.
|
void |
setInputPrompt(String inputPrompt)
Sets the input prompt - a textual prompt that is displayed when the
select would otherwise be empty, to prompt the user for input.
|
void |
setPageLength(Decimal pageLength)
Sets the length of the popup page.
|
configure, setOptions
preventGC, refresh, restoreInternalState, setNullSelectionAllowed, setOptions, setOptionsToContainer, writeInternalState
addValidator, fireValueChanged, focus, getOnChange, getValidationErrors, inferValidator, isConvertible, isImmediate, isRequired, isValid, removeAllValidators, setImmediate, setOnChange, setRequired
getBinding, getProperty, isFullyInitialized, onPropertyValueSet, refreshBinding, setProperty
addDataErrorMessage, addStyleName, attach, call, clearDataErrorMessages, createEvent, equals, getCaption, getComponentAlignment, getContextClickHandler, getCustomErrorMessage, getDataErrorMessages, getDescription, getExpandRatio, getHasChildrenAdapter, getHeight, getIcon, getModelingId, getNamespace, getStyleName, getTabIndex, getWidth, hashCode, isEnabled, isReadOnly, isVisible, localize, markAsDirty, removeStyleName, restoreState, saveState, setCaption, setComponentAlignment, setContextClickHandler, setContextMenuItems, setCustomErrorMessage, setDescription, setEnabled, setExpandRatio, setHeight, setIcon, setReadOnly, setStyleName, setTabIndex, setVisible, setWidth, toString
protected com.vaadin.ui.AbstractSelect createWidget()
FormComponent
createWidget
in class WAbstractSelect<Set<Object>>
public boolean isNullSelectionAllowed()
isNullSelectionAllowed
in class WAbstractSelect<Set<Object>>
WAbstractSelect.setNullSelectionAllowed(boolean)
public com.whitestein.lsps.vaadin.extensions.ComboBoxMultiselect getWidget()
FormComponent
getWidget
in class WAbstractSelect<Set<Object>>
protected IVaadinContainerDataSourceAdapter createDataSource(RecordHolder dataSource, RecordHolder captionValueProvider)
WAbstractSelect
captionValueProvider
to provide captions for particular option row objects.createDataSource
in class WAbstractSelect<Set<Object>>
dataSource
- forms::DataSource instance, may be null - in such case just return EmptyVaadinContainerDataSourceAdapter
.captionValueProvider
- provides captions for options from the data source.public void setPageLength(Decimal pageLength)
pageLength
- public Decimal getPageLength()
public String getInputPrompt()
setInputPrompt(String)
public void setInputPrompt(String inputPrompt)
inputPrompt
- the desired input prompt, or null to disableCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.