What is a ZK component"

From Documentation
m (Created page with 'A ZK component consists of two types of UI object, component and widget. ==Component== A component is a Java object running at the server which represents a UI object which can…')
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A ZK component consists of two types of UI object, component and widget.
+
{{ZKComponentDevelopmentEssentialsPageHeader}}
 +
 
 +
Each UI object in ZK consists of a component and a widget.
  
 
==Component==
 
==Component==
Line 7: Line 9:
 
==Widget==
 
==Widget==
  
The widget is a JavaScript object running at the client. This object represents the UI object which interacts with the user. Therefore, a widget usually has a visual appearance, and handles events happening at the client.
+
A widget is a JavaScript object running at the client. This object represents the UI object which interacts with the user. Therefore, a widget usually has a visual appearance, and handles events happening at the client.
 +
 
  
 +
Having established that there are two parts to a ZK Component one needs to explore how these parts interact with one another to form a fully interactive user experience.
  
Having established that there are two parts to a ZK Component one needs to explore how these parts interact to form a fully interactive user experience.
+
{{ZKComponentDevelopmentEssentialsPageFooter}}

Latest revision as of 01:21, 10 August 2011




Each UI object in ZK consists of a component and a widget.

Component

A component is a Java object running at the server which represents a UI object which can be manipulated by a Java application. A component has all the behavior of a UI object except it has no visual part.

Widget

A widget is a JavaScript object running at the client. This object represents the UI object which interacts with the user. Therefore, a widget usually has a visual appearance, and handles events happening at the client.


Having established that there are two parts to a ZK Component one needs to explore how these parts interact with one another to form a fully interactive user experience.



Last Update : 2011/08/10

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