Tabpanel"

From Documentation
(Created page with '{{ZKComponentReferencePageHeader}} = Tabpanel = *Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l10 | Tabpanel] *Java API: <javadoc>org.zkoss.zul.Tabpanel</javadoc> *Ja…')
 
Line 3: Line 3:
 
= Tabpanel =
 
= Tabpanel =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l10 | Tabpanel]
+
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l10 Tabpanel]
 
*Java API: <javadoc>org.zkoss.zul.Tabpanel</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Tabpanel</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.tab.Tabpanel</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.tab.Tabpanel</javadoc>

Revision as of 02:03, 21 April 2010

Tabpanel

Employment/Purpose

A tabpanel is the body of a single tab panel. You would place the content for a group of components within a tab panel. The first tabpanel corresponds to the first tab, the second tabpanel corresponds to the second tab and so on.

Example

File:ZKComRef Containers Tabpanel.PNG

<zk>
	<tabbox width="400px">
		<tabs>
			<tab label="Tab 1" />
			<tab label="Tab 2" />
		</tabs>
		<tabpanels>
			<tabpanel>This is panel 1</tabpanel>
			<tabpanel>This is panel 2</tabpanel>
		</tabpanels>
	</tabbox>
	<space />
	<tabbox width="400px" mold="accordion">
		<tabs>
			<tab label="Tab 3" />
			<tab label="Tab 4" />
		</tabs>
		<tabpanels>
			<tabpanel>This is panel 3</tabpanel>
			<tabpanel>This is panel 4</tabpanel>
		</tabpanels>
	</tabbox>
</zk>

Supported events

Name
Event Type
onClick
MouseEvent

Description:

Denotes user has clicked the component.

onRightClick
MouseEvent

Description:

Denotes user has right-clicked the component.

onDoubleClick
MouseEvent

Description:

Denotes user has double-clicked the component.

Supported Children

*ALL

Use cases

Tabbox

Version History

Version Date Content
5.0.1 4/21/2010 Initialization



Last Update : 2010/04/21

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