All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.TabbedPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----cynosurex.awt.TabbedPanel

public class TabbedPanel
extends Container
implements CommonInterface, TabListener
A tabbed panel.


Constructor Index

 o TabbedPanel()
Constructs and initializes a tabbed panel.
 o TabbedPanel(int, int)
Constructs and initializes a tabbed panel with the specified horizontal and vertical gap.

Method Index

 o add(String, Component)
Adds a component to the card layout with a name.
 o tabSelected(TabEvent)
Handle the event from TabPanel.

Constructors

 o TabbedPanel
 public TabbedPanel()
Constructs and initializes a tabbed panel.

 o TabbedPanel
 public TabbedPanel(int hgap,
                    int vgap)
Constructs and initializes a tabbed panel with the specified horizontal and vertical gap.

Parameters:
hgap - horizontal gap
vgap - vertical gap

Methods

 o add
 public Component add(String name,
                      Component component)
Adds a component to the card layout with a name.

Parameters:
name - name of the component
component - the component to add
Overrides:
add in class Container
 o tabSelected
 public void tabSelected(TabEvent e)
Handle the event from TabPanel.


All Packages  Class Hierarchy  This Package  Previous  Next  Index