Class gjt.test.UnitTest
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.test.UnitTest

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----gjt.test.UnitTest

public class UnitTest
extends Applet
An (abstract) Applet fitted with a BorderLayout that contains a TitledPanel in the North, and a Panel created by derived classes in the Center.

Since some Applets take awhile to load, UnitTest changes the cursor to a wait cursor in init(), changing it back to the default cursor in start(). Derived classes must be sure to call super.init() if they override init(); likewise for start().

Subclasses must implement:

String title()
Panel centerPanel()
Subclasses should populate the Panel returned from centerPanel() with whatever makes sense for their unit test.
See Also:
TitledPanel

Constructor Index

 o UnitTest()

Method Index

 o centerPanel()
 o init()
 o start()
 o title()

Constructors

 o UnitTest
  public UnitTest()

Methods

 o title
  public abstract String title()
 o centerPanel
  public abstract Panel centerPanel()
 o init
  public void init()
Overrides:
init in class Applet
 o start
  public void start()
Overrides:
start in class Applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index