All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.gauge.BarIndicator
java.lang.Object
|
+----java.awt.Component
|
+----COM.ibm.beans.gauge.BaseGauge
|
+----COM.ibm.beans.gauge.BarIndicator
- public class BarIndicator
- extends BaseGauge
- implements Serializable
This gauge displays a bar representing the gauge value. The
bar may be drawn using a solid color, a color gradient, or a
tiled image.
BarIndicator()
- The default constructor for BarIndicator.
copyright()
-
getBackground()
- 'get' accessor method for background property
getBarStyle()
- 'get' accessor method for barStyle property
getHorizontal()
- 'get' accessor method for horizontal property
getMinimumSize()
- Return the minimum required size for the gauge
paint(Graphics,
Dimension, long, long, long, boolean, long, long, long)
- Paint the gauge.
processComponentEvent(ComponentEvent)
-
setBackground(Color)
- 'set' accessor method for background property
setBarStyle(int)
- 'set' accessor method for barStyle property
setBounds(int,
int, int, int)
- Over-ridden setBounds method on component to reset bar
image when reshaped/resized
setHorizontal(boolean)
- 'set' accessor method for horizontal property
BarIndicator
public BarIndicator()
- The default constructor for BarIndicator.
copyright
public static String copyright()
getMinimumSize
public Dimension getMinimumSize()
- Return the minimum required size for the gauge
- Overrides:
- getMinimumSize
in class Component
getBackground
public Color getBackground()
- 'get' accessor method for background property
- Overrides:
- getBackground
in class Component
setBackground
public void setBackground(Color color)
- 'set' accessor method for background property
- Overrides:
- setBackground
in class Component
getBarStyle
public int getBarStyle()
- 'get' accessor method for barStyle property
setBarStyle
public void setBarStyle(int style)
- 'set' accessor method for barStyle property
getHorizontal
public boolean getHorizontal()
- 'get' accessor method for horizontal property
setHorizontal
public void setHorizontal(boolean bool)
- 'set' accessor method for horizontal property
setBounds
public void setBounds(int x,
int y,
int w,
int h)
- Over-ridden setBounds method on component to reset bar
image when reshaped/resized
- Overrides:
- setBounds
in class Component
paint
public synchronized void paint(Graphics g,
Dimension s,
long value,
long minimum,
long maximum,
boolean incremental,
long previousdisplayvalue,
long previousmin,
long previousmax)
- Paint the gauge.
- Overrides:
- paint
in class BaseGauge
processComponentEvent
protected void processComponentEvent(ComponentEvent evt)
- Overrides:
- processComponentEvent
in class BaseGauge
All Packages Class Hierarchy This Package Previous Next Index
Copyright ©
Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.