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.
-
TabbedPanel()
- Constructs and initializes a tabbed panel.
-
TabbedPanel(int, int)
- Constructs and initializes a tabbed panel with the specified
horizontal and vertical gap.
-
add(String, Component)
- Adds a component to the card layout with a name.
-
handleEvent(Event)
- Handle the event from TabPanel.
TabbedPanel
public TabbedPanel()
- Constructs and initializes a tabbed panel.
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
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
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