public abstract class BaseFrame extends BaseGaugeComponent
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
m_borderColorKey |
protected java.awt.Color |
m_defaultBorderColor |
protected java.awt.Color |
m_defaultFillColor |
protected boolean |
m_defaultVisible |
protected java.lang.String |
m_fillColorKey |
protected boolean |
m_isGaugeSetComponent |
protected SFX |
m_sfx |
protected int |
m_sfxID |
protected java.lang.String |
m_visibleKey |
m_commonGauge, m_compType
Constructor and Description |
---|
BaseFrame(CommonGauge gauge,
int compID) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBorderColor()
Retrieves the fill color for this frame.
|
java.awt.Color |
getFillColor()
Retrieves the fill color for this frame.
|
SFX |
getSFX()
Retrieves the
SFX object for this frame. |
boolean |
isVisible()
Retrieves whether or not the frame should be visible.
|
void |
setBorderColor(java.awt.Color borderColor)
Specifies the border color for this frame.
|
void |
setFillColor(java.awt.Color fillColor)
Specifies the fill color for the background of this frame.
|
void |
setVisible(boolean visible)
Specifies whether or not this frame should be visible.
|
getComponentName, getComponentType, selectObject
protected java.lang.String m_visibleKey
protected java.lang.String m_fillColorKey
protected java.lang.String m_borderColorKey
protected int m_sfxID
protected boolean m_defaultVisible
protected java.awt.Color m_defaultFillColor
protected java.awt.Color m_defaultBorderColor
protected boolean m_isGaugeSetComponent
protected SFX m_sfx
public BaseFrame(CommonGauge gauge, int compID)
gauge
- The gauge that this object belongs to.public boolean isVisible()
TRUE
if the frame should be visible,
FALSE
otherwise.public void setVisible(boolean visible)
visible
- TRUE
if the frame should be visible,
FALSE
otherwise.public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color fillColor)
fillColor
- The fill color for this frame.public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color borderColor)
borderColor
- The border color.public SFX getSFX()
SFX
object for this frame.
The SFX
object specifies attributes
for special effects.SFX
object.