public class Threshold extends BaseGaugeComponent
m_commonGauge, m_compType
Constructor and Description |
---|
Threshold(CommonGauge gauge) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBorderColor(int index)
Retrieves the fill color of the given threshold.
|
java.awt.Color |
getFillColor(int index)
Retrieves the fill color of the given threshold.
|
SFX |
getSFX(int index)
Retrieves the SFX of the given threshold.
|
java.lang.String |
getText(int index)
Retrieves the text of the given threshold.
|
void |
setBorderColor(int index,
java.awt.Color color)
Specifies the border color of the given threshold.
|
void |
setFillColor(int index,
java.awt.Color color)
Specifies the fill color of the given threshold.
|
void |
setText(int index,
java.lang.String str)
Specifies the text of the given threshold.
|
int |
size()
Retrieves the number of thresholds for which
attributes have been defined.
|
getComponentName, getComponentType, selectObject
public Threshold(CommonGauge gauge)
public java.awt.Color getFillColor(int index)
public void setFillColor(int index, java.awt.Color color)
color
- The color of the given threshold.index
- Threshold index to setpublic java.awt.Color getBorderColor(int index)
public void setBorderColor(int index, java.awt.Color color)
color
- The color of the given threshold.index
- Threshold index to setpublic java.lang.String getText(int index)
index
- Threshold index to setpublic void setText(int index, java.lang.String str)
str
- The text of the given threshold.index
- Threshold index to setpublic SFX getSFX(int index)
public int size()