Tabs

A tabs is the container for the tab components.

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

Class Name

org.zkoss.zul.Tabs

Supported Child Components

Tab

Supported Events

*NONE

Properties

*None

Methods

Name

Description

Data Type

Values

getTabbox

Returns the tabbox owns this component.

Tabbox

Inherited From