Class TabApp

Class TabApp

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----TabApp

public class TabApp
extends Applet
implements TabApplet

Constructor Index

 o TabApp()
Constructs a new TabApp

Method Index

 o doLayout(Graphics)
Lays out the tab children according to my orientation.
 o handleEvent(Event)
Handles events for the applet.
 o init()
Performs initialization for this applet, including reading the parameters from the HTML.
 o paint(Graphics)
Paints the applet by laying out and painting all the tab children.
 o paintLines(Graphics)
Paints lines either across the bottom (if orientation is horizontal) or the left hand side (if orientation is vertical).
 o selectChild(Tab)
Selects (arms) a particular tab.
 o unselectChild(Tab)
Unselects (disarms) a particular tab.

Constructors

 o TabApp
  public TabApp()
Constructs a new TabApp

Methods

 o init
  public void init()
Performs initialization for this applet, including reading the parameters from the HTML.
Overrides:
init in class Applet
 o paintLines
  public void paintLines(Graphics g)
Paints lines either across the bottom (if orientation is horizontal) or the left hand side (if orientation is vertical).
Parameters:
g - the graphics object used to paint the lines.
 o paint
  public void paint(Graphics g)
Paints the applet by laying out and painting all the tab children.
Parameters:
g - the graphics object used to paint the applet
Overrides:
paint in class Component
 o doLayout
  public void doLayout(Graphics g)
Lays out the tab children according to my orientation.
Parameters:
g - the graphics object used to erase and repaint the children when I move them around.
 o selectChild
  public void selectChild(Tab child)
Selects (arms) a particular tab.
Parameters:
child - the newly armed tab
 o unselectChild
  public void unselectChild(Tab child)
Unselects (disarms) a particular tab.
Parameters:
child - the (until recently) selected tab.
 o handleEvent
  public boolean handleEvent(Event e)
Handles events for the applet.
Parameters:
e - the event.
Overrides:
handleEvent in class Component