Annotation Type UICheckBox
-
@Retention(RUNTIME) @Target(METHOD) @LinkkiBoundProperty @LinkkiAspect(CheckBoxAspectCreator.class) public @interface UICheckBox
In accordance toCheckbox, bound to a boolean property.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intpositionMandatory attribute that defines the order in which UI-Elements are displayed.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringcaptionProvides a caption on the right side of the check box.EnabledTypeenabledDefines if an UI-Component is editable, using values ofEnabledType.StringlabelProvides a label on the left side of the check box.StringmodelAttributeThe name of a property in the class of the boundModelObjectto use model binding.StringmodelObjectThe name of the model object that is to be bound if multiple model objects are included for model binding.RequiredTyperequiredMarks mandatory fields visuallyVisibleTypevisibleSpecifies if a component is shown, using values ofVisibleType
-
-
-
-
caption
String caption
Provides a caption on the right side of the check box.Use an empty String as caption if no caption is needed.
For a label on the left, use
label()for the label text.If the check box is used inside a
UITableColumn, thelabel()will be displayed in the column header while thecaption()will be displayed inside the table cell together with the check box.- Default:
- "derived.by.linkki"
-
-
-
enabled
EnabledType enabled
Defines if an UI-Component is editable, using values ofEnabledType.- 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 ofVisibleType- Default:
- org.linkki.core.defaults.ui.aspects.types.VisibleType.VISIBLE
-
-
-
modelObject
String modelObject
The 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 boundModelObjectto use model binding.- Default:
- ""
-
-