public class SingleSelectListImpl<V> extends AbstractSelectList<V,V,JmixSingleListSelect<V>> implements SingleSelectList<V>
SelectList.DoubleClickEvent<I>
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
metadataTools, optionCaptionProvider, optionsBinding
editable, parentEditableChangeListener, validators, VALIDATORS_LIST_INITIAL_CAPACITY
internalValue, uiTestIdsSupport, valueBinding
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
NAME
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Constructor and Description |
---|
SingleSelectListImpl() |
Modifier and Type | Method and Description |
---|---|
protected V |
convertToModel(java.util.Set<V> componentRawValue) |
protected java.util.Set<V> |
convertToPresentation(V modelValue) |
protected JmixSingleListSelect<V> |
createComponent() |
protected java.util.Collection<V> |
getCollectionValue() |
boolean |
isNullOptionVisible() |
void |
setNullOptionVisible(boolean nullOptionVisible)
Sets visibility for first null element in list.
|
addDoubleClickListener, afterPropertiesSet, focus, generateDefaultItemCaption, generateItemCaption, getOptionCaptionProvider, getOptions, getTabIndex, initComponent, onDoubleClick, setItemsToPresentation, setMetadataTools, setOptionCaptionProvider, setOptions, setTabIndex, valueBindingConnected
addValidator, attachValueChangeListener, getDatatypeConversionErrorMsg, getErrorMessage, getRequiredMessage, getValidators, isEditable, isRequired, isValid, removeValidator, setEditable, setEditableToComponent, setParent, setRequired, setRequiredMessage, setupComponentErrorProvider, triggerValidators, validate
addValueChangeListener, commit, componentValueChanged, discard, fieldValueEquals, getValue, getValueSource, isBuffered, isModified, setBuffered, setUiTestId, setUiTestIdsSupport, setValue, setValueSource, setValueToPresentation, valueBindingActivated
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDoubleClickListener
getOptions, setOptions, setOptionsEnum, setOptionsList, setOptionsMap
getValueSource, setValueSource
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
addValidator, addValidators, getValidators, removeValidator
getRequiredMessage, isRequired, setRequired, setRequiredMessage
getOptionCaptionProvider, setOptionCaptionProvider
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
public void setNullOptionVisible(boolean nullOptionVisible)
SingleSelectList
setNullOptionVisible
in interface SingleSelectList<V>
nullOptionVisible
- whether null element should be visiblepublic boolean isNullOptionVisible()
isNullOptionVisible
in interface SingleSelectList<V>
protected JmixSingleListSelect<V> createComponent()
createComponent
in class AbstractSelectList<V,V,JmixSingleListSelect<V>>
protected java.util.Collection<V> getCollectionValue()
getCollectionValue
in class AbstractSelectList<V,V,JmixSingleListSelect<V>>
protected V convertToModel(@Nullable java.util.Set<V> componentRawValue)
convertToModel
in class AbstractValueComponent<JmixSingleListSelect<V>,java.util.Set<V>,V>
protected java.util.Set<V> convertToPresentation(@Nullable V modelValue)
convertToPresentation
in class AbstractValueComponent<JmixSingleListSelect<V>,java.util.Set<V>,V>