All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jHelp.tabs.TabPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jHelp.tabs.TabPanel

public class TabPanel
extends Panel
implements ActionListener
Provides for a simple, single row tabbed-folders style of Panel


Constructor Index

 o TabPanel(String, Panel)
Creates a tabbed-folders panel, with the provided caption and panels as the initially selected tab.

Method Index

 o actionPerformed(ActionEvent)
 o add(String, Panel)
Adds a panel and tab to the tab-folder, with the provided caption.

Constructors

 o TabPanel
 public TabPanel(String caption,
                 Panel panel)
Creates a tabbed-folders panel, with the provided caption and panels as the initially selected tab.

Parameters:
caption - the caption to appear in the tab
panel - the panel displayed with the specified tab

Methods

 o add
 public void add(String caption,
                 Panel panel)
Adds a panel and tab to the tab-folder, with the provided caption.

Parameters:
caption - the caption to appear in the tab
panel - the panel displayed with the specified tab
 o actionPerformed
 public void actionPerformed(ActionEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index