|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.GaugeLed
A gauge chart led is a color-filled circle placed within the gauge frame
area and associated with a gauge series to show whether a threshold value has
been reached or not. Two colors are displayed, one showing that the gauge series
value is within a normal expected range and the other signaling an abnormal state.
GaugeSerie.setGaugeLed(com.jinsight.jetchart.GaugeLed)| Constructor Summary | |
GaugeLed(double value,
double thresholdValue,
double radiusPos)
GaugeLed constructor. |
|
| Method Summary | |
void |
setBorderColor(java.awt.Color borderColor)
Sets the border color of a gauge led. |
void |
setBorderEnabled(boolean isBorderEnabled)
Enables/disables a border around the led. |
void |
setColor(java.awt.Color color)
Sets the color to be displayed in normal condition. |
void |
setDiameter(int diameter)
Sets the diameter of this GaugeLed object. |
void |
setRadiusPosition(double radiusPos)
Sets the position of this GaugeLed object. |
void |
setThresholdValue(double thresholdValue)
Sets the threshold value. |
void |
setValue(double value)
Sets the scale value of this GaugeLed object. |
void |
setWarningColor(java.awt.Color warningColor)
Sets the warning color. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GaugeLed(double value,
double thresholdValue,
double radiusPos)
value - A double precision number.thresholdValue - A double precision number.radiusPos - A double precision number ranging from 0 to 1,
corresponding to the center and the border of the gauge,
respectively.| Method Detail |
public void setValue(double value)
value - A double precision number.public void setThresholdValue(double thresholdValue)
thresholdValue - A double precision numberpublic void setRadiusPosition(double radiusPos)
radiusPos - A double precision number.public void setDiameter(int diameter)
diameter - An integer value larger than 1.public void setColor(java.awt.Color color)
color - A Color object.setThresholdValue(double)public void setWarningColor(java.awt.Color warningColor)
warningColor - A Color object.setThresholdValue(double)public void setBorderEnabled(boolean isBorderEnabled)
isBorderEnabled - A boolean value(true/false).public void setBorderColor(java.awt.Color borderColor)
borderColor - A Color object.setBorderEnabled(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||