|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.0) E12063-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.dss.gauge.BaseGaugeComponent oracle.dss.gauge.BaseText oracle.dss.gauge.BaseLabel oracle.dss.gauge.TopLabel
public class TopLabel
Field Summary |
---|
Fields inherited from class oracle.dss.gauge.BaseLabel |
---|
a_aboveGauge, a_belowGauge, a_insideGauge, a_insideGaugeLeft, a_insideGaugeRight, a_none, a_withBottomLabel, lp_abovegauge, lp_belowgauge, lp_insidegauge, lp_insidegauge_left, lp_insidegauge_right, lp_none, lp_withbottomlabel, m_defaultPosition, m_positionKey |
Fields inherited from class oracle.dss.gauge.BaseText |
---|
m_defaultFont, m_defaultFontColor, m_fontColorKey, m_fontKey, m_isGaugeSetComponent |
Fields inherited from class oracle.dss.gauge.BaseGaugeComponent |
---|
m_commonGauge, m_compType |
Constructor Summary | |
---|---|
TopLabel(CommonGauge gauge)
|
Method Summary | |
---|---|
int |
getPosition()
Returns the position of the label. |
java.lang.String |
getText()
Retrieves the text for the TopLabel. |
java.lang.String |
getText(int index)
Retrieves the top label override for the gauge at the specified index of a gauge set. |
void |
setPosition(int position)
Specifies the position of the label. |
void |
setText(int index,
java.lang.String label)
Specifies the top label override for the gauge at the specified index of a gauge set. |
void |
setText(java.lang.String str)
Specifies the text for the TopLabel. |
Methods inherited from class oracle.dss.gauge.BaseLabel |
---|
convertLabelPositionToInt, convertLabelPositionToString |
Methods inherited from class oracle.dss.gauge.BaseText |
---|
getFont, getFontColor, setFont, setFontColor |
Methods inherited from class oracle.dss.gauge.BaseGaugeComponent |
---|
getComponentName, getComponentType, selectObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopLabel(CommonGauge gauge)
Method Detail |
---|
public java.lang.String getText()
public void setText(java.lang.String str)
str
- The text of this TopLabel.public void setText(int index, java.lang.String label)
index
- The index of the top label to override in a gauge set.label
- The label to to apply.public java.lang.String getText(int index)
index
- The index of the top label to return.
public int getPosition()
getPosition
in class BaseLabel
GaugeAttributes.LP_NONE
, GaugeAttributes.LP_ABOVE_GAUGE
,
GaugeAttributes.LP_INSIDE_GAUGE
.public void setPosition(int position)
setPosition
in class BaseLabel
position
- the integer constant that represents where the label is placed:
GaugeAttributes.LP_NONE
, GaugeAttributes.LP_ABOVE_GAUGE
,
GaugeAttributes.LP_INSIDE_GAUGE
.
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.0) E12063-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |