Caption"

From Documentation
Line 8: Line 8:
  
 
= Employement/Purpose =
 
= Employement/Purpose =
A header for a Groupbox. It may contain either a text label, using <javadoc>org.zkoss.zul.impl.LabelElement</javadoc><mp>setValue(String)</mp>, or child elements for a more complex caption.
+
A header for a Groupbox. It may contain either a text label, using <javadoc method="setValue(String)">org.zkoss.zul.impl.LabelElement</javadoc>, or child elements for a more complex caption.
  
 
= Example =
 
= Example =

Revision as of 02:29, 26 April 2010

Caption

Employement/Purpose

A header for a Groupbox. It may contain either a text label, using LabelElement.setValue(String), or child elements for a more complex caption.

Example

ZKComRef Caption Example.png


 <zk>
     <window border="normal" width="350px">
          <caption label="This is a caption"/>
             <groupbox width="300px">
                  <caption label="fruits"/>
                  <radiogroup onCheck="fruit.value = self.selectedItem.label">
                     <radio label="Apple"/>
                  <radio label="Orange"/>
                  <radio label="Banana"/>  
                  </radiogroup>
             </groupbox>
     </window>
 </zk>

Supported Children

*ALL

Use cases

Version Description Example Location
5.0+ How to use the title and caption inside a Window http://docs.zkoss.org/wiki/Layout_and_Windows#Titles_and_Captions

Version History

Version Date Content
5.0.1 04/20/2010 Initialization



Last Update : 2010/04/26

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