All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.Bargauge

java.lang.Object
   |
   +----java.awt.Component
           |
           +----gjt.Bargauge

public class Bargauge
extends Component
A bargauge which can be filled (wholly or partially) with a client-specified color. Fill color is specified at construction time; both fill color and fill percent may be set after construction time.

See Also:
ThreeDRectangle, BargaugeTest

Constructor Index

 o Bargauge(Color)

Method Index

 o fill()
 o getMinimumSize()
 o getPreferredSize()
 o minimumSize()
Deprecated.
 o paint(Graphics)
 o paramString()
 o preferredSize()
Deprecated.
 o reshape(int, int, int, int)
Deprecated.
 o resize(int, int)
Deprecated.
 o setBounds(int, int, int, int)
 o setFillColor(Color)
 o setFillPercent(double)
 o setSize(int, int)

Constructors

 o Bargauge
 public Bargauge(Color fillColor)

Methods

 o setFillColor
 public void setFillColor(Color fillColor)
 o setFillPercent
 public void setFillPercent(double percentage)
 o resize
 public void resize(int w,
                    int h)
Note: resize() is deprecated. for JDK1.1

Overrides:
resize in class Component
 o setSize
 public void setSize(int w,
                     int h)
Overrides:
setSize in class Component
 o reshape
 public void reshape(int x,
                     int y,
                     int w,
                     int h)
Note: reshape() is deprecated. for JDK1.1

Overrides:
reshape in class Component
 o setBounds
 public void setBounds(int x,
                       int y,
                       int w,
                       int h)
Overrides:
setBounds in class Component
 o minimumSize
 public Dimension minimumSize()
Note: minimumSize() is deprecated. for JDK1.1

Overrides:
minimumSize in class Component
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Component
 o preferredSize
 public Dimension preferredSize()
Note: preferredSize() is deprecated. for JDK1.1

Overrides:
preferredSize in class Component
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Component
 o fill
 public void fill()
 o paramString
 protected String paramString()
Overrides:
paramString in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index