UI Components
Tooltips
For displaying tooltips on UI elements linkki provides the annotation @UITooltip
. This annotation can be added in the PMO binding to the method to which the UI element is bound. In the case of binding using the @Bind
annotation, @UITooltip
musst be written directly in the field annotated with @Bind
.
The @UITooltip
annotation has two properties:
Text
This is the text displayed on ToolTipType.STATIC
. Its default value is an empty string (""
).
ToolTipType
The following configuration options are available for ToolTipType
:
|
the text of the tooltip is read from the attribute |
|
the text of the tooltip is determined by the return value of the method |