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. Component definitions, components and methods may be annotated. The annotations can be retrieved at the run time.
+
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.
  
ZK and components do not count on the annotations. Rather, they are mainly used for UI designer 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 tool or the utility the developer uses. For example, a data-binding manager might examine annotations to know the data source that the value of a component will be stored.  
+
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.




Last Update : 2012/02/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.