Annotate in Java
From Documentation
You could annotate a component in Java by the use of ComponentCtrl.addAnnotation(String, Map), and annotate a property by ComponentCtrl.addAnnotation(String, String, Map).
For example,
Listbox listbox = new Listbox();
listbox.addAnnotation(null, "foo", null); //annotate listbox
Label label = new Label();
label.addAnnotation("value", "fun", null); //annotate the value property of label
Version History
Version | Date | Content |
---|---|---|