Component Properties

From Documentation
Revision as of 03:03, 30 November 2010 by Tomyeh (talk | contribs)


Component Properties


With component definitions, we could specify the initial values for the properties, attributes and annotations of a component.

Properties

Depending on the requirement, you could change the initial value of a property for a particular ZUML document, or for the whole application.

Page-wide Initialization

Suppose we want to assign normal to the border property (Window.setBorder(String)) of all windows in a ZUML document, then we could use the component directive as follows.

<?component name="window" extends="window" border="normal"?>
<window title="Border"/>

Application-wid Initialization

Molds

Attributes

Depending on the requirement, you could change the initial value of an attribute for a particular ZUML document, or for the whole application.

Page-wide Initialization

Application-wid Initialization

Version History

Last Update : 2010/11/30


Version Date Content
     



Last Update : 2010/11/30

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