public class WMultiselectComboBox extends WAbstractMultiSelect<Object>
WAbstractMultiSelect.SetHolderConverterWAbstractSelect.VariantConverterComponentWithValue.ValueChangeListenerImpl, ComponentWithValue.ValueProperty<T>options, PROPERTY_CAPTION, widgetConfiguredrefreshingform, 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, setOptionspreventGC, refresh, restoreInternalState, setNullSelectionAllowed, setOptions, setOptionsToContainer, writeInternalStateaddValidator, fireValueChanged, focus, getOnChange, getValidationErrors, inferValidator, isConvertible, isImmediate, isRequired, isValid, removeAllValidators, setImmediate, setOnChange, setRequiredgetBinding, getProperty, isFullyInitialized, onPropertyValueSet, refreshBinding, setPropertyaddDataErrorMessage, 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, toStringprotected com.vaadin.ui.AbstractSelect createWidget()
FormComponentcreateWidget 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()
FormComponentgetWidget in class WAbstractSelect<Set<Object>>protected IVaadinContainerDataSourceAdapter createDataSource(RecordHolder dataSource, RecordHolder captionValueProvider)
WAbstractSelectcaptionValueProvider 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.