WebRunner JavaBeans

Gauge Beans   API Documentation

A gauge is a visual device that displays a single value to the user which can vary continually within a range. Gauges can include everything from traditional-style circular gauges to LED displays, counters, and sliders as well as innovative and unusual devices.  

This collection contains some representative gauges that you can connect to data providers via the setValue method. The gauges smoothly animate and have modifiable properties for their value range and current value. Some gauges have additional modifiable properties for their visual aspects. 

The sample GaugeTest bean generates values and has a value property that may be connected to the value property of any gauge. Other GaugeTest properties let you tailor the range and frequency of the generated data values.  

The following gauges are supplied with the WebRunner Toolkit. They can be used with the WebRunner Bean Tester or any Java builder. For programmers, the API reference shows how to use gauges with even more flexibility.  

Gauge
Description
led.jpg LED Counter The LED Counter presents an LED with a variable number of digits. The digits change to reflect the current gauge value, with options for immediate update or update via all intermediate values. 
rolling.jpg Rolling Counter The Rolling Counter is very similar to the LED counter, but simulates a car odometer, with digits that can slide into place vertically. 
needle.jpg Needle The Needle gauge is a traditional semi-circular gauge, with a heavy swinging needle and a shaded color scale. The degree of needle damping may be controlled, along with various display colors and styles. 
ragnee.jpg RAG Needle The RAG Needle gauge is similar to the Needle gauge, but it divides the scale into three areas, which are colored Red, Amber, and Green. This gauge is ideal for MIS presentations. The changeover points between the colors can be set, including whether Red appears at the high or low end of the range. 
therm.jpg Thermometer The Thermometer represents a value by the height of a column of liquid in a tube. Positive and negative scales can be drawn up the side of the tube. When the value changes, the liquid level in the tube changes quickly but smoothly. Various color and style properties may be set. 
oscill.jpg Oscilloscope The Oscilloscope records a trace of the value, repeatedly traversing the display area and erasing the previous trace. The trace is always a continuous line connecting past values, and the position of the line end represents the current gauge value. Trace line color and various other visual properties may be set. 
trace.jpg Trace Recorder The TraceRecorder records a trace of the gauge value, scrolling continually across the display area. This creates a display like the output graphs available with many system performance monitoring tools. Trace line color and various other visual properties may be set. 
light.jpg Lightbulb Indicator The Lightbulb indicator shows an image of a light bulb with various intensities to reflect the current gauge value. The rapidity of change between intensities in response to value changes may be controlled. 
block.jpg Block Indicator The BlockIndicator represents the gauge value by the number of blocks arranged in a line. By controlling the dimensions and spacing of the blocks and their colors, effects such as progress indicators and "hi-fi" gauges can be achieved. 
bar.jpg Bar Indicator The Bar Indicator represents the gauge value by the length of a bar. This sort of gauge is commonly used for progress indicators. The bar can be filled with one of a set of pre-defined color gradients. 




Copyright © Taligent, Inc. 1996 - 1997. 
Copyright © IBM Corporation 1996 - 1997. 
All Rights Reserved.