Caption"

From Documentation
m
Line 6: Line 6:
 
*Java API: <javadoc>org.zkoss.zul.Caption</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Caption</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Caption</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Caption</javadoc>
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Caption Caption]
+
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Caption| Caption]]
  
 
= Employement/Purpose =
 
= Employement/Purpose =

Revision as of 09:01, 19 January 2011

Caption

Employement/Purpose

A header for a Groupbox. It may contain either a text label, using LabelElement.setLabel(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 Events

Name
Event Type
None None


Supported Children

*ALL

Use Cases

Version Description Example Location
5.0 How to use the title and caption inside a Window Title and Caption

Version History

Last Update : 2011/01/19


Version Date Content
     



Last Update : 2011/01/19

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