Annotate in Java"
From Documentation
m |
m ((via JWB)) |
||
Line 13: | Line 13: | ||
=Version History= | =Version History= | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- |
Revision as of 04:54, 11 January 2022
You could annotate a component or a property in Java by the use of ComponentCtrl.addAnnotation(String, String, Map).
For example,
Listbox listbox = new Listbox();
listbox.addAnnotation(null, "foo", null); //null in the first argument means to annotate listbox
Label label = new Label();
label.addAnnotation("value", "fun", null); //annotate the value property of label
Version History
Version | Date | Content |
---|---|---|