Klasse TagComboBox<RECORD>

Alle implementierten Schnittstellen:
ClientObject, Component, TextInputHandlingField

public class TagComboBox<RECORD> extends AbstractComboBox<RECORD,List<RECORD>>
  • Felddetails

    • onFreeTextEntered

      public final Event<String> onFreeTextEntered
    • onFreeTextRemoved

      public final Event<String> onFreeTextRemoved
  • Konstruktordetails

    • TagComboBox

      public TagComboBox()
    • TagComboBox

      public TagComboBox(Template template)
    • TagComboBox

      public TagComboBox(ComboBoxModel<RECORD> model)
  • Methodendetails

    • getSelectedRecords

      protected Set<RECORD> getSelectedRecords()
      Angegeben von:
      getSelectedRecords in Klasse AbstractComboBox<RECORD,List<RECORD>>
    • createForList

      public static <R> TagComboBox<R> createForList(List<R> staticData)
    • createForList

      public static <R> TagComboBox<R> createForList(List<R> staticData, Template template)
    • createForList

      public static <R> TagComboBox<R> createForList(List<R> staticData, TreeNodeInfoExtractor<R> treeNodeInfoExtractor)
    • createForEnum

      public static <ENUM extends Enum> TagComboBox<ENUM> createForEnum(Class<ENUM> enumClass)
    • createUiComponent

      public org.teamapps.dto.UiField createUiComponent()
      Angegeben von:
      createUiComponent in Klasse AbstractComponent
    • setValue

      public void setValue(List<RECORD> records)
      Setzt außer Kraft:
      setValue in Klasse AbstractField<List<RECORD>>
    • convertUiValueToUxValue

      public List<RECORD> convertUiValueToUxValue(Object value)
      Setzt außer Kraft:
      convertUiValueToUxValue in Klasse AbstractField<List<RECORD>>
    • isEmptyValue

      protected boolean isEmptyValue(List<RECORD> records)
      Beschreibung aus Klasse kopiert: AbstractField
      Whether this value be regarded as empty / "no user input". Override for field-specific behaviour.
      Setzt außer Kraft:
      isEmptyValue in Klasse AbstractField<List<RECORD>>
      Gibt zurück:
      true if the value can be regarded as "empty".
    • convertUxValueToUiValue

      public Object convertUxValueToUiValue(List<RECORD> uxValue)
      Beschreibung aus Klasse kopiert: AbstractField
      Converts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!
      Setzt außer Kraft:
      convertUxValueToUiValue in Klasse AbstractField<List<RECORD>>
      Parameter:
      uxValue - the server-side value
      Gibt zurück:
      the object to be sent to the ui
    • getMaxEntries

      public int getMaxEntries()
    • setMaxEntries

      public void setMaxEntries(int maxEntries)
    • getWrappingMode

      public TagBoxWrappingMode getWrappingMode()
    • setWrappingMode

      public void setWrappingMode(TagBoxWrappingMode wrappingMode)
    • isDistinct

      public boolean isDistinct()
    • setDistinct

      public void setDistinct(boolean distinct)
    • getFreeTextEntries

      public List<String> getFreeTextEntries()
    • setFreeTextEntries

      public void setFreeTextEntries(List<String> freeTextEntries)
    • isTwoStepDeletion

      public boolean isTwoStepDeletion()
    • setTwoStepDeletion

      public void setTwoStepDeletion(boolean twoStepDeletion)