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

Class gjt.test.SimpleBargaugeTest

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

public class SimpleBargaugeTest
extends UnitTest
A lone Barguage which animates. This unit test is meant to illustrate that a Bargauge can cope with having its orientation chanaged from horizontal to vertical or vice-versa. This test is best run in appletviewer, so that the window may be resized such that the Bargauge changes its orientation.

Warning: An AWT bug causes this test to be a gluttenous consumer of resources (especially under Win95). A mouse down will halt the animation thread along with its consumption of resources.

See Also:
UnitTest, Bargauge

Constructor Index

 o SimpleBargaugeTest()

Method Index

 o centerPanel()
 o title()

Constructors

 o SimpleBargaugeTest
  public SimpleBargaugeTest()

Methods

 o title
  public String title()
Overrides:
title in class UnitTest
 o centerPanel
  public Panel centerPanel()
Overrides:
centerPanel in class UnitTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index