Annotation Type UITextField

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int position
      Mandatory attribute that defines the order in which UI-Elements are displayed
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      EnabledType enabled
      Defines if an UI-Component is editable, using values of EnabledType
      String label
      Provides a description label next to the UI element
      int maxLength
      Defines the maximal count of characters which can be displayed
      String modelAttribute
      The name of a property in the class of the bound ModelObject to use model binding
      String modelObject
      Name of the model object that is to be bound if multiple model objects are included for model binding
      RequiredType required
      Marks mandatory fields visually
      VisibleType visible
      Specifies if a component is shown, using values of VisibleType
      String width
      Specifies the width of the field using a number and a CSS unit, for example "5em" or "50%".
    • 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"
      • 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:
        ""
      • 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 using a number and a CSS unit, for example "5em" or "50%".

        This value is set to 100% by default, which means it takes up all available space.

        See Also:
        HasSize.setWidth(String)
        Default:
        "100%"
      • maxLength

        int maxLength
        Defines the maximal count of characters which can be displayed
        Default:
        0