Annotation Type UILink
-
@Retention(RUNTIME) @Target(METHOD) @LinkkiBoundProperty(org.linkki.core.binding.descriptor.property.annotation.BoundPropertyCreator.SimpleMemberNameBoundPropertyCreator.class) @LinkkiAspect(LinkAspectDefinitionCreator.class) public @interface UILink
Provides a single UI-element to display a link. Creates anAnchor.
-
-
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 StringcaptionStatic text displayed on the link.CaptionTypecaptionTypeDefines how the value of caption should be retrieved, using values ofCaptionType.IconPositioniconPositionSpecifies thepositionof the icon, whether it is displayed on the left or on the right side of the link.StringlabelProvides a label for the link.StringtargetSpecifies where to open the link.VisibleTypevisibleSpecifies if a component is shown, using values ofVisibleType
-
-
-
-
label
String label
Provides a label for the link. Normally a link does not need a label. The label stands next to the component and depends on the current layout (may not be visible in every layout). In tables the label is used for the column header.- Default:
- ""
-
-
-
visible
VisibleType visible
Specifies if a component is shown, using values ofVisibleType- Default:
- org.linkki.core.defaults.ui.aspects.types.VisibleType.VISIBLE
-
-
-
caption
String caption
Static text displayed on the link. If the value should be determined dynamically either let caption be empty or setcaptionType()toCaptionType.DYNAMICexplicitly. In this case a method namedget<PropertyName>Captionis called.- Default:
- ""
-
-
-
captionType
CaptionType captionType
Defines how the value of caption should be retrieved, using values ofCaptionType.In case of
CaptionType.DYNAMICorCaptionType.AUTOwith emptycaption()a method namedget<PropertyName>Captionis called.- Default:
- org.linkki.core.defaults.ui.aspects.types.CaptionType.AUTO
-
-
-
target
String target
Specifies where to open the link. Might be one ofUILink.LinkTargetor a specific frame.To define a dynamic link use
UILink.LinkTarget.DYNAMICand implement a method calledget<PropertyName>Target- Default:
- "_self"
-
-
-
iconPosition
IconPosition iconPosition
Specifies thepositionof the icon, whether it is displayed on the left or on the right side of the link.- Default:
- org.linkki.core.ui.aspects.types.IconPosition.RIGHT
-
-