Interface SingleSelectList<V>

Type Parameters:
V - value and options type
All Superinterfaces:
Component, Component.BelongToFrame, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Field<V>, HasContextHelp, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, HasOptionCaptionProvider<V>, HasValidator<V>, HasValue<V>, HasValueSource<V>, OptionsField<V,V>, Requirable, SelectList<V,V>, Validatable
All Known Implementing Classes:
SingleSelectListImpl

@StudioComponent(caption="SingleSelectList", category="Components", xmlElement="singleSelectList", icon="io/jmix/ui/icon/component/singleSelectList.svg", canvasBehaviour=SELECT_LIST, documentationURL="https://docs.jmix.io/jmix/%VERSION%/ui/vcl/components/single-select-list.html") public interface SingleSelectList<V> extends SelectList<V,V>
List select component. Allows select only one item.
  • Field Details

  • Method Details

    • setNullOptionVisible

      @StudioProperty(defaultValue="true") void setNullOptionVisible(boolean nullOptionVisible)
      Sets visibility for first null element in list.
      Parameters:
      nullOptionVisible - whether null element should be visible
    • isNullOptionVisible

      boolean isNullOptionVisible()
      Returns:
      whether null element is currently visible