Annotation Type UIComboBox

    • Element Detail

      • position

        int position
        Mandatory attribute that defines the order in which UI-Elements are displayed
      • label

        String label
        Provides a description label next to the UI element
        Default:
        "derived.by.linkki"
      • content

        AvailableValuesType content
        Specifies the source of the available values, the content of the combo box.
        See Also:
        AvailableValuesType
        Default:
        org.linkki.core.defaults.ui.aspects.types.AvailableValuesType.ENUM_VALUES_INCL_NULL
      • enabled

        EnabledType enabled
        Defines if an UI-Component is editable, using values of EnabledType
        Default:
        org.linkki.core.defaults.ui.aspects.types.EnabledType.ENABLED
      • required

        RequiredType required
        Marks mandatory fields visually
        Default:
        org.linkki.core.defaults.ui.aspects.types.RequiredType.NOT_REQUIRED
      • visible

        VisibleType visible
        Specifies if a component is shown, using values of VisibleType
        Default:
        org.linkki.core.defaults.ui.aspects.types.VisibleType.VISIBLE
      • width

        String width
        Specifies the width of the field. Use CSS units like em, px or %.

        For example: "25em" or "100%".

        Default:
        "-1px"
      • modelObject

        String modelObject
        Name of the model object that is to be bound if multiple model objects are included for model binding
        Default:
        "modelObject"
      • modelAttribute

        String modelAttribute
        The name of a property in the class of the bound ModelObject to use model binding
        Default:
        ""
      • itemCaptionProvider

        Class<? extends ItemCaptionProvider<?>> itemCaptionProvider
        Specifies which ItemCaptionProvider should be used to convert content() into String captions.

        Default value assumes that the value class has a method "getName" and uses this method for the String representation.

        Default:
        org.linkki.core.defaults.ui.element.ItemCaptionProvider.DefaultCaptionProvider.class
      • textAlign

        TextAlignment textAlign
        The alignment of the text. Use TextAlignment.RIGHT for numeric value.

        Text alignment is set for both the selected value and the values in the drop down list. When used in combination with BindComboBoxItemStyleAspectDefinition the style for the drop down list is overwritten by the bind annotation. Therefore it may be necessary to set the style class "text-left", "text-center" or "text-right" manually.

        Default:
        org.linkki.core.ui.aspects.types.TextAlignment.DEFAULT