Class ComboBox<RECORD>

    • Field Detail

      • onFreeTextEntered

        public final Event<java.lang.String> onFreeTextEntered
    • Constructor Detail

      • ComboBox

        public ComboBox()
      • ComboBox

        public ComboBox​(Template template)
    • Method Detail

      • createForList

        public static <R> ComboBox<R> createForList​(java.util.List<R> staticData)
      • createForList

        public static <R> ComboBox<R> createForList​(java.util.List<R> staticData,
                                                    Template template)
      • createForList

        public static <R> ComboBox<R> createForList​(java.util.List<R> staticData,
                                                    TreeNodeInfoExtractor<R> treeNodeInfoExtractor)
      • createForEnum

        public static <ENUM extends java.lang.Enum> ComboBox<ENUM> createForEnum​(java.lang.Class<ENUM> enumClass)
      • convertUxValueToUiValue

        public java.lang.Object convertUxValueToUiValue​(RECORD record)
        Description copied from class: AbstractField
        Converts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!
        Overrides:
        convertUxValueToUiValue in class AbstractField<RECORD>
        Parameters:
        record - the server-side value
        Returns:
        the object to be sent to the ui
      • getFreeText

        public java.lang.String getFreeText()
      • addToolButton

        public void addToolButton​(ToolButton toolButton)
      • removeToolButton

        public void removeToolButton​(ToolButton toolButton)