Annotations"
From Documentation
(Created page with '{{ZKDevelopersReferencePageHeader}} An annotation is a special form of syntactic metadata that can be added to components. Component definitions, components and methods may be a…') |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | An annotation is a special form of syntactic metadata that can be added to components. | + | An annotation is a special form of syntactic metadata that can be added to components. The definitions, properties and components themselves may be annotated. The annotations can be retrieved at the run time. |
− | + | The annotations have no direct effect on the operation of the components. Rather, they are mainly used for UI designers to annotate metadata, such that it controls how a tool or a utility shall do at run-time. The content and meanings of annotations totally depend on the tools or the utilities the developer uses. For example, [[ZK Developer's Reference/MVVM/Data Binding|ZK Bind]] examines annotations to know how to load and store the value of a component. | |
{{ZKDevelopersReferenceHeadingToc}} | {{ZKDevelopersReferenceHeadingToc}} | ||
{{ZKDevelopersReferencePageFooter}} | {{ZKDevelopersReferencePageFooter}} |
Latest revision as of 09:41, 8 February 2012
An annotation is a special form of syntactic metadata that can be added to components. The definitions, properties and components themselves may be annotated. The annotations can be retrieved at the run time.
The annotations have no direct effect on the operation of the components. Rather, they are mainly used for UI designers to annotate metadata, such that it controls how a tool or a utility shall do at run-time. The content and meanings of annotations totally depend on the tools or the utilities the developer uses. For example, ZK Bind examines annotations to know how to load and store the value of a component.