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_isGaugeSetComponent
m_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, setFontColor
getComponentName, getComponentType, selectObject
public static final java.lang.String name
@Concealed protected static final java.lang.String tc_none
@Concealed protected static final java.lang.String tc_minmax
@Concealed protected static final java.lang.String tc_increments
@Concealed protected static final java.lang.String tc_threshold
@Concealed protected static final java.lang.String tc_metric
@Concealed protected static final java.lang.String a_none
@Concealed protected static final java.lang.String a_minMax
@Concealed protected static final java.lang.String a_increments
@Concealed protected static final java.lang.String a_threshold
@Concealed protected static final java.lang.String a_metric
@Concealed protected static final java.lang.String tlp_interior
@Concealed protected static final java.lang.String tlp_exterior
@Concealed protected static final java.lang.String a_interior
@Concealed 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_
.@Concealed public static int convertTickContentToInt(java.lang.String string)
public int getPosition()
public void setPosition(int position)
position
- Integer representing the position@Concealed public 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_