public class BaseElement extends BaseGaugeComponent
Modifier and Type | Field and Description |
---|---|
protected SFX |
m_sfx |
m_commonGauge, m_compType
Modifier | Constructor and Description |
---|---|
protected |
BaseElement(CommonGauge gauge,
int compType) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBorderColor()
Retrieves the border color of this element.
|
java.awt.Color |
getFillColor()
Retrieves the fill color of this element.
|
SFX |
getSFX()
Retrieves the
SFX object for this component. |
double |
getValue()
Retrieves the value of this element.
|
void |
setBorderColor(java.awt.Color color)
Specifies the border color of this element.
|
void |
setFillColor(java.awt.Color color)
Specifies the fill color of this element.
|
void |
setValue(double value)
Specifies the value of this element.
|
getComponentName, getComponentType, selectObject
protected SFX m_sfx
protected BaseElement(CommonGauge gauge, int compType)
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color color)
color
- The color of this element.public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color color)
color
- The bordercolor of this element.public double getValue()
public void setValue(double value)
value
- The value of this element.public SFX getSFX()
SFX
object for this component.
The SFX
object specifies attributes
for special effects.SFX
object for this component.