public class TickLabel extends BaseText
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
a_exterior |
protected static java.lang.String |
a_increments |
protected static java.lang.String |
a_interior |
protected static java.lang.String |
a_metric |
protected static java.lang.String |
a_minMax |
protected static java.lang.String |
a_none |
protected static java.lang.String |
a_threshold |
static java.lang.String |
name |
protected static java.lang.String |
tc_increments |
protected static java.lang.String |
tc_metric |
protected static java.lang.String |
tc_minmax |
protected static java.lang.String |
tc_none |
protected static java.lang.String |
tc_threshold |
protected static java.lang.String |
tlp_exterior |
protected static java.lang.String |
tlp_interior |
m_defaultFont, m_defaultFontColor, m_fontColorKey, m_fontKey, m_isGaugeSetComponentm_commonGauge, m_compType| Constructor and Description |
|---|
TickLabel(CommonGauge gauge) |
| Modifier and Type | Method and Description |
|---|---|
static int |
convertTickContentToInt(java.lang.String string) |
static int |
convertTickLabelPositionToInt(java.lang.String string) |
int |
getContent()
Gets the tick label content specification for all gauges in this
gauge set.
|
int |
getNumberType()
Gets the type of number displayed in axis labels of gauge set.
|
int |
getPosition()
Gets the tick label position for all gauges in this
gauge set.
|
ViewFormat |
getViewFormat()
Retrieves a
ViewFormat object for tick labels. |
void |
setContent(int content)
Sets the tick label content specification for all gauges in this
gauge set.
|
void |
setNumberType(int type)
Sets the type of number to be displayed in axis labels of gauge set.
|
void |
setPosition(int position)
Sets the tick label position for all gauges in this
gauge set.
|
void |
setViewFormat(ViewFormat viewFormat)
Specifies a
ViewFormat object for tick labels. |
getFont, getFontColor, setFont, setFontColorgetComponentName, getComponentType, selectObjectpublic static final java.lang.String name
protected static final java.lang.String tc_none
protected static final java.lang.String tc_minmax
protected static final java.lang.String tc_increments
protected static final java.lang.String tc_threshold
protected static final java.lang.String tc_metric
protected static final java.lang.String a_none
protected static final java.lang.String a_minMax
protected static final java.lang.String a_increments
protected static final java.lang.String a_threshold
protected static final java.lang.String a_metric
protected static final java.lang.String tlp_interior
protected static final java.lang.String tlp_exterior
protected static final java.lang.String a_interior
protected static final java.lang.String a_exterior
public TickLabel(CommonGauge gauge)
public int getContent()
GaugeConstants beginning with
TICK_.public void setContent(int content)
content - Integer representing 0 or more tick label types
to display; valid values include those constants
in GaugeConstants beginning with
TICK_.public static int convertTickContentToInt(java.lang.String string)
public int getPosition()
public void setPosition(int position)
position - Integer representing the positionpublic static int convertTickLabelPositionToInt(java.lang.String string)
public ViewFormat getViewFormat()
ViewFormat object for tick labels.
The ViewFormat objects allow you to format numbers.ViewFormat object for tick labels.public void setViewFormat(ViewFormat viewFormat)
ViewFormat object for tick labels.
The ViewFormat objects allow you to format numbers.viewFormat - A ViewFormat object for this label.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_