Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.dss.gauge
Class TopLabel

java.lang.Object
  extended by oracle.dss.gauge.BaseGaugeComponent
      extended by oracle.dss.gauge.BaseText
          extended by oracle.dss.gauge.BaseLabel
              extended by oracle.dss.gauge.TopLabel

All Implemented Interfaces:
FontAttribute

public class TopLabel
extends BaseLabel
Since:
11.0

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

TopLabel

public TopLabel(CommonGauge gauge)

Method Detail

getText

public java.lang.String getText()
Retrieves the text for the TopLabel.
Returns:
String The text of this TopLabel.

setText

public void setText(java.lang.String str)
Specifies the text for the TopLabel.
Parameters:
str - The text of this TopLabel.

setText

public void setText(int index,
                    java.lang.String label)
Specifies the top label override for the gauge at the specified index of a gauge set.
Parameters:
index - The index of the top label to override in a gauge set.
label - The label to to apply.

getText

public java.lang.String getText(int index)
Retrieves the top label override for the gauge at the specified index of a gauge set.
Parameters:
index - The index of the top label to return.
Returns:
String The label at the passed in index. null if unspecified.

getPosition

public int getPosition()
Returns the position of the label.
Overrides:
getPosition in class BaseLabel
Returns:
the integer constant that represents where the label is placed: GaugeAttributes.LP_NONE, GaugeAttributes.LP_ABOVE_GAUGE, GaugeAttributes.LP_INSIDE_GAUGE.

setPosition

public void setPosition(int position)
Specifies the position of the label.
Overrides:
setPosition in class BaseLabel
Parameters:
position - the integer constant that represents where the label is placed: GaugeAttributes.LP_NONE, GaugeAttributes.LP_ABOVE_GAUGE, GaugeAttributes.LP_INSIDE_GAUGE.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.