public class ToolTips extends BaseText
m_defaultFont, m_defaultFontColor, m_fontColorKey, m_fontKey, m_isGaugeSetComponent
m_commonGauge, m_compType
Constructor and Description |
---|
ToolTips(CommonGauge gauge) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getComponentName() |
int |
getHorizontalAlignment()
Retrieves the horizontal alignment for the text within the rectangle of
the tooltip.
|
void |
setHorizontalAlignment(int a)
Specifies the horizontal alignment of the text within the rectangle of the
tooltip.
|
getFont, getFontColor, setFont, setFontColor
getComponentType, selectObject
public ToolTips(CommonGauge gauge)
public int getHorizontalAlignment()
SwingConstants.LEFT
,
SwingConstants.CENTER
, and SwingConstants.RIGHT
.swing
constant that represents the horozontal alignment
for the text of this title.public void setHorizontalAlignment(int a)
a
- A Swing
constant that represents the horizontal
alignment for the text of the title.
Valid constants are SwingConstants.LEFT
,
SwingConstants.CENTER
, and
SwingConstants.RIGHT
.@Concealed protected java.lang.String getComponentName()
getComponentName
in class BaseGaugeComponent