All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.gauge.Oscilloscope
java.lang.Object
|
+----java.awt.Component
|
+----COM.ibm.beans.gauge.BaseGauge
|
+----COM.ibm.beans.gauge.Oscilloscope
- public class Oscilloscope
- extends BaseGauge
- implements Serializable
This gauge simulates the operation of an oscilloscope. A trace
of recent values is cread=ted by a dot which traverses the gauge
from left to right, with a vertical position representing the
current gauge value. The oldest part of the trace is erased a
short distance ahead of the dot.
Oscilloscope()
- Default constructor
copyright()
-
getAdvance()
- 'get' accessor method for advance property
getDelay()
- 'get' accessor method for delay property
getLines()
- 'get' accessor method for lines property
getMinimumSize()
- Returns the minimum required size for this gauge
getScaleColor()
- 'get' accessor method for scaleColor property
getTraceColor()
- 'get' accessor method for traceColor property
paint(Graphics,
Dimension, long, long, long, boolean, long, long, long)
- Paint the gauge.
setAdvance(int)
- 'set' accessor method for advance property
setBackground(Color)
- 'set' accessor method for background property
setBounds(int,
int, int, int)
- Over-ridden Component method to recalculate all the gauge
images and dimensions
setDelay(long)
- 'set' accessor method for delay property
setLines(int)
- 'set' accessor method for lines property
setScaleColor(Color)
- 'set' accessor method for scaleColor property
setTraceColor(Color)
- 'set' accessor method for traceColor property
Oscilloscope
public Oscilloscope()
- Default constructor
copyright
public static String copyright()
setAdvance
public void setAdvance(int newvalue)
- 'set' accessor method for advance property
getAdvance
public int getAdvance()
- 'get' accessor method for advance property
setDelay
public void setDelay(long newvalue)
- 'set' accessor method for delay property
getDelay
public long getDelay()
- 'get' accessor method for delay property
setLines
public void setLines(int newvalue)
- 'set' accessor method for lines property
getLines
public int getLines()
- 'get' accessor method for lines property
setScaleColor
public void setScaleColor(Color newcolor)
- 'set' accessor method for scaleColor property
getScaleColor
public Color getScaleColor()
- 'get' accessor method for scaleColor property
setBackground
public synchronized void setBackground(Color newcolor)
- 'set' accessor method for background property
- Overrides:
- setBackground
in class Component
setTraceColor
public void setTraceColor(Color newcolor)
- 'set' accessor method for traceColor property
getTraceColor
public Color getTraceColor()
- 'get' accessor method for traceColor property
getMinimumSize
public Dimension getMinimumSize()
- Returns the minimum required size for this gauge
- Overrides:
- getMinimumSize
in class Component
setBounds
public synchronized void setBounds(int x,
int y,
int w,
int h)
- Over-ridden Component method to recalculate all the gauge
images and dimensions
- Overrides:
- setBounds
in class Component
paint
public synchronized void paint(Graphics g,
Dimension s,
long value,
long min,
long max,
boolean incremental,
long previousdisplayvalue,
long previousmin,
long previousmax)
- Paint the gauge.
- Overrides:
- paint
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.