Annotation Type Bind

    • Element Detail

      • pmoProperty

        String pmoProperty
        The name of the PMO's property to which the UI element is bound. If it is empty (default) the property name is derived from the annotated element, that means:
        • in case of a field it is the field name
        • it case of a getter method it is the method name without is/get
        • otherwise it is the full name of the annotated method

        Note that for each aspect, the pmoProperty() is evaluated before modelAttribute(). That means if an aspect method can be found with the defined pmoProperty() in the PMO, that method is used. If no method can be found in the PMO, the modelAttribute() is then used to find the method in the modelObject(). If no modelAttribute() is defined, pmoProperty() is used to find the method in the modelObject().

        Default:
        ""
      • enabled

        EnabledType enabled
        If and how the enabled state of the UI element is bound to the PMO.
        Default:
        org.linkki.core.defaults.ui.aspects.types.EnabledType.ENABLED
      • visible

        VisibleType visible
        If and how the visible state of the UI element is bound to the PMO.
        Default:
        org.linkki.core.defaults.ui.aspects.types.VisibleType.VISIBLE
      • required

        RequiredType required
        If and how the required state of the UI element is bound to the PMO. Ignored for UI elements that cannot be required, e.g. buttons.
        Default:
        org.linkki.core.defaults.ui.aspects.types.RequiredType.NOT_REQUIRED
      • availableValues

        AvailableValuesType availableValues
        If and how the available values are bound to the PMO. Relevant only for UI elements that have available values (e.g. combo boxes), ignored for all other elements.
        Default:
        org.linkki.core.defaults.ui.aspects.types.AvailableValuesType.NO_VALUES