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.


Constructor Index

 o BarIndicator()
The default constructor for BarIndicator.

Method Index

 o copyright()
 
 o getBackground()
'get' accessor method for background property
 o getBarStyle()
'get' accessor method for barStyle property
 o getHorizontal()
'get' accessor method for horizontal property
 o getMinimumSize()
Return the minimum required size for the gauge
 o paint(Graphics, Dimension, long, long, long, boolean, long, long, long)
Paint the gauge.
 o processComponentEvent(ComponentEvent)
 
 o setBackground(Color)
'set' accessor method for background property
 o setBarStyle(int)
'set' accessor method for barStyle property
 o setBounds(int, int, int, int)
Over-ridden setBounds method on component to reset bar image when reshaped/resized
 o setHorizontal(boolean)
'set' accessor method for horizontal property

Constructors

 o BarIndicator

 public BarIndicator()
The default constructor for BarIndicator.

Methods

 o copyright

 public static String copyright()

 o getMinimumSize

 public Dimension getMinimumSize()
Return the minimum required size for the gauge
Overrides:
getMinimumSize in class Component

 o getBackground

 public Color getBackground()
'get' accessor method for background property
Overrides:
getBackground in class Component

 o setBackground

 public void setBackground(Color color)
'set' accessor method for background property
Overrides:
setBackground in class Component

 o getBarStyle

 public int getBarStyle()
'get' accessor method for barStyle property

 o setBarStyle

 public void setBarStyle(int style)
'set' accessor method for barStyle property

 o getHorizontal

 public boolean getHorizontal()
'get' accessor method for horizontal property

 o setHorizontal

 public void setHorizontal(boolean bool)
'set' accessor method for horizontal property

 o 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

 o 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

 o 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.