BrightSide Workbench Full Report + Source Code
org.turro.zkoss.layout.TabbedContent Class Reference
Inheritance diagram for org.turro.zkoss.layout.TabbedContent:
Collaboration diagram for org.turro.zkoss.layout.TabbedContent:

Public Member Functions

void addContent (String label, Component component)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file TabbedContent.java.

Member Function Documentation

◆ addContent()

void org.turro.zkoss.layout.TabbedContent.addContent ( String  label,
Component  component 
)

Definition at line 34 of file TabbedContent.java.

34  {
35  if(getTabs() == null) appendChild(new Tabs());
36  if(getTabpanels() == null) appendChild(new Tabpanels());
37 
38  Tab tab = new Tab(label);
39  getTabs().appendChild(tab);
40 
41  Tabpanel panel = new Tabpanel();
42  getTabpanels().appendChild(panel);
43 
44  panel.appendChild(component);
45  }

The documentation for this class was generated from the following file: