public abstract class WebAbstractOptionsBase<T extends com.vaadin.ui.AbstractSelect> extends WebAbstractOptionsField<T>
Modifier and Type | Class and Description |
---|---|
static class |
WebAbstractOptionsBase.CollectionPropertyWrapper |
Field.Validator
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
ICON_STYLE, UNIT_SYMBOLS
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
WebAbstractOptionsBase() |
Modifier and Type | Method and Description |
---|---|
<V> V |
getValue() |
void |
setDatasource(Datasource datasource,
java.lang.String property)
Set datasource and its property.
|
void |
setOptionsDatasource(CollectionDatasource datasource) |
void |
setRequired(boolean required) |
void |
setValue(java.lang.Object value) |
getCaptionMode, getCaptionProperty, getDescriptionProperty, getOptionsDatasource, getOptionsEnum, getOptionsList, getOptionsMap, getTabIndex, isMultiSelect, setCaptionMode, setCaptionProperty, setDescriptionProperty, setMultiSelect, setOptionsEnum, setOptionsList, setOptionsMap, setTabIndex
addListener, addValidator, addValueChangeListener, getDatasource, getMetaProperty, getMetaPropertyPath, getRequiredMessage, getValidators, isEditable, isRequired, isValid, removeListener, removeValidator, removeValueChangeListener, setEditable, setParent, setRequiredMessage, validate
addStyleName, assignAutoDebugId, getAlignment, getCaption, getComponent, getComponentEnabledFlag, getComponentVisibleFlag, getComposition, getDebugId, getDescription, getFrame, getHeight, getHeightUnits, getIcon, getId, getParent, getStyleName, getWidth, getWidthUnits, getXmlDescriptor, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setCaption, setDebugId, setDescription, setEnabled, setFrame, setHeight, setIcon, setId, setResponsive, setStyleName, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapComposition
addListener, addListener, fireEvent, hasListeners, removeListener, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValidator, getRequiredMessage, getValidators, isRequired, removeValidator, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath
addListener, addValueChangeListener, removeListener, removeValueChangeListener
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getCaption, getDescription, setCaption, setDescription
isValid, isValidateOnCommit, validate
getIcon, setIcon
isFocusable, setFocusable
public void setOptionsDatasource(CollectionDatasource datasource)
setOptionsDatasource
in interface OptionsField
setOptionsDatasource
in class WebAbstractOptionsField<T extends com.vaadin.ui.AbstractSelect>
public void setDatasource(Datasource datasource, java.lang.String property)
DatasourceComponent
setDatasource
in interface DatasourceComponent
setDatasource
in class WebAbstractOptionsField<T extends com.vaadin.ui.AbstractSelect>
public void setValue(java.lang.Object value)
setValue
in interface Component.HasValue
setValue
in class WebAbstractField<T extends com.vaadin.ui.AbstractSelect>
public <V> V getValue()
getValue
in interface Component.HasValue
getValue
in class WebAbstractField<T extends com.vaadin.ui.AbstractSelect>
public void setRequired(boolean required)
setRequired
in interface Field
setRequired
in class WebAbstractField<T extends com.vaadin.ui.AbstractSelect>