Class tea.set.MeterA
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.MeterA

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----tea.set.BaseA
                                           |
                                           +----tea.set.MeterA

public class MeterA
extends BaseA
implements Runnable
MeterA is an applet wrapper for the Meter widget.

Parameters supported by this applet includes:

Meter.LOW
low value of the meter.
Meter.HIGH
high value of the meter.
Meter.COLOR
the value of this parameter can be any one of the color defined in java.awt.Color, or it can be a RGB value in the format R:G:B, where R, G, and B are numeric values for RGB. The color is used for filling the meter.
Meter.DISPLAY
set the display style, and be either NONE, PERCENT, or ABSOLUTE.
Meter.DIRECTION
the value can be either HORIZONTAL or VERTICAL.
Meter.VALUE
this parameter is a series of values separated by comma. They will be used to set the value of the meter at one second interval. This is more for demo purpose as oppose to much value for normal use.
See Also:
Meter

Constructor Index

 o MeterA()

Method Index

 o init()
Applet initialization method.
 o run()
 o start()
 o stop()

Constructors

 o MeterA
  public MeterA()

Methods

 o init
  public void init()
Applet initialization method.
Overrides:
init in class Applet
 o start
  public void start()
Overrides:
start in class Applet
 o stop
  public void stop()
Overrides:
stop in class Applet
 o run
  public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index