Caption"

From Documentation
Line 1: Line 1:
 
{{ZKComponentReferencePageHeader}}
 
{{ZKComponentReferencePageHeader}}
  
= Caption =
+
>= Caption =
  
 
* Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l6 Caption]  
 
* Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l6 Caption]  
*Java API: <javadoc>org.zkoss.zul.Caption</javadoc>
+
*Java API: &lt;javadoc&gt;org.zkoss.zul.Caption&lt;/javadoc&gt;
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Caption</javadoc>
+
*JavaScript API: &lt;javadoc directory=&quot;jsdoc&quot;&gt;zul.wgt.Caption&lt;/javadoc&gt;
 +
 
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://enoricoza.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 +
----
 +
=[http://enoricoza.co.cc CLICK HERE]=
 +
----
 +
</div>
  
 
= Employement/Purpose =
 
= Employement/Purpose =

Revision as of 03:07, 15 November 2010

>= Caption =

  • Demonstration: Caption
  • Java API: <javadoc>org.zkoss.zul.Caption</javadoc>
  • JavaScript API: <javadoc directory="jsdoc">zul.wgt.Caption</javadoc>

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 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
     



Last Update : 2010/11/15

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