Class cynosurex.awt.TabbedPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.TabbedPanel

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

public class TabbedPanel
extends Panel
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 handleEvent(Event)
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 handleEvent
  public boolean handleEvent(Event e)
Handle the event from TabPanel.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index