Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

oracle.dss.gauge
Class BottomLabel

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.BottomLabel
All Implemented Interfaces:
FontAttribute

public class BottomLabel
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
BottomLabel(CommonGauge gauge)
           
 
Method Summary
 int getPosition()
          Returns the position of the label.
 java.lang.String getText()
          Retrieves the text for the BottomLabel.
 java.lang.String getText(int index)
          Retrieves the bottom 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 bottom label override for the gauge at the specified index of a gauge set.
 void setText(java.lang.String str)
          Specifies the text for the BottomLabel.
 
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

BottomLabel

public BottomLabel(CommonGauge gauge)
Method Detail

getText

public java.lang.String getText()
Retrieves the text for the BottomLabel.

Returns:
String The text of this BottomLabel.

setText

public void setText(java.lang.String str)
Specifies the text for the BottomLabel.

Parameters:
str - The text of this BottomLabel.

setText

public void setText(int index,
                    java.lang.String label)
Specifies the bottom label override for the gauge at the specified index of a gauge set.

Parameters:
index - The index of the bottom label to override in a gauge set.
label - The label to to apply.

getText

public java.lang.String getText(int index)
Retrieves the bottom label override for the gauge at the specified index of a gauge set.

Parameters:
index - The index of the bottom 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_BELOW_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_BELOW_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

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