Annotation Type UIRadioButtons
-
@Retention(RUNTIME) @Target(METHOD) @LinkkiAspect(RadioButtonsAspectDefinitionCreator.class) @LinkkiBoundProperty public @interface UIRadioButtons
Radio buttons for selecting a single value. Creates aRadioButtonGroup.
-
-
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 AlignmentTypebuttonAlignmentSpecifies the alignment of the radio buttons.AvailableValuesTypecontentSpecifies the source of the available values, for each of which a button will be displayed.EnabledTypeenabledDefines whether an UI-Component is editable, using values ofEnabledTypeClass<? extends ItemCaptionProvider<?>>itemCaptionProviderSpecifies whichItemCaptionProvidershould be used to convertcontent()into String captions.StringlabelProvides a description label next to the UI elementStringmodelAttributeThe name of a property in the class of the boundModelObjectto use model bindingStringmodelObjectName of the model object that is to be bound if multiple model objects are included for model bindingRequiredTyperequiredMarks mandatory fields visuallyVisibleTypevisibleSpecifies if a component is shown, using values ofVisibleType
-
-
-
-
label
String label
Provides a description label next to the UI element- Default:
- ""
-
-
-
content
AvailableValuesType content
Specifies the source of the available values, for each of which a button will be displayed.- See Also:
AvailableValuesType
- Default:
- org.linkki.core.defaults.ui.aspects.types.AvailableValuesType.ENUM_VALUES_EXCL_NULL
-
-
-
enabled
EnabledType enabled
Defines whether 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
-
-
-
itemCaptionProvider
Class<? extends ItemCaptionProvider<?>> itemCaptionProvider
Specifies whichItemCaptionProvidershould be used to convertcontent()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
-
-
-
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 boundModelObjectto use model binding- Default:
- ""
-
-
-
buttonAlignment
AlignmentType buttonAlignment
Specifies the alignment of the radio buttons. The alignment can be eitherAlignmentType.VERTICAL, which is the default alignment, orAlignmentType.HORIZONTAL.- Default:
- org.linkki.core.defaults.ui.aspects.types.AlignmentType.VERTICAL
-
-