public class LegendText extends BaseText
m_defaultFont, m_defaultFontColor, m_fontColorKey, m_fontKey, m_isGaugeSetComponentm_commonGauge, m_compType| Constructor and Description |
|---|
LegendText(CommonGauge gauge) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinLength()
Retrieves the minimum length of text to display before truncation when
there is no room to display all the text.
|
int |
getNumberType()
Gets the type of number to be displayed for items in the legend.
|
void |
setMinLength(int min)
Specifies the minimum length of text to display before truncation when
there is no room to display all the text.
|
void |
setNumberType(int type)
Sets the type of number to be displayed for items in the legend.
|
getFont, getFontColor, setFont, setFontColorgetComponentName, getComponentType, selectObjectpublic LegendText(CommonGauge gauge)
public int getNumberType()
Gauge beginning
with NT_public void setNumberType(int type)
type - Integer representing the type of number intended
for display in this gauge; valid values are constants
in the Gauge class beginning with
NT_public void setMinLength(int min)
min - the minimum length of textpublic int getMinLength()