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 BaseLabel

java.lang.Object
  extended by oracle.dss.gauge.BaseGaugeComponent
      extended by oracle.dss.gauge.BaseText
          extended by oracle.dss.gauge.BaseLabel
All Implemented Interfaces:
FontAttribute
Direct Known Subclasses:
BottomLabel, MetricLabel, TopLabel

public class BaseLabel
extends BaseText

Since:
11.0

Field Summary
protected static java.lang.String a_aboveGauge
           
protected static java.lang.String a_belowGauge
           
protected static java.lang.String a_insideGauge
           
protected static java.lang.String a_insideGaugeLeft
           
protected static java.lang.String a_insideGaugeRight
           
protected static java.lang.String a_none
           
protected static java.lang.String a_withBottomLabel
           
protected static java.lang.String lp_abovegauge
           
protected static java.lang.String lp_belowgauge
           
protected static java.lang.String lp_insidegauge
           
protected static java.lang.String lp_insidegauge_left
           
protected static java.lang.String lp_insidegauge_right
           
protected static java.lang.String lp_none
           
protected static java.lang.String lp_withbottomlabel
           
protected  int m_defaultPosition
           
protected  java.lang.String 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
BaseLabel(CommonGauge gauge, int compType)
           
 
Method Summary
static int convertLabelPositionToInt(java.lang.String position)
           
static java.lang.String convertLabelPositionToString(int position)
           
 int getPosition()
          Returns the position of the label.
 void setPosition(int position)
          Specifies the position of the label.
 
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
 

Field Detail

m_defaultPosition

protected int m_defaultPosition

m_positionKey

protected java.lang.String m_positionKey

lp_none

protected static final java.lang.String lp_none
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_belowgauge

protected static final java.lang.String lp_belowgauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_abovegauge

protected static final java.lang.String lp_abovegauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_insidegauge

protected static final java.lang.String lp_insidegauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_insidegauge_left

protected static final java.lang.String lp_insidegauge_left
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_insidegauge_right

protected static final java.lang.String lp_insidegauge_right
See Also:
Constant Field Values
For internal use only. Application developers should not use this

lp_withbottomlabel

protected static final java.lang.String lp_withbottomlabel
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_none

protected static final java.lang.String a_none
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_belowGauge

protected static final java.lang.String a_belowGauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_aboveGauge

protected static final java.lang.String a_aboveGauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_insideGauge

protected static final java.lang.String a_insideGauge
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_insideGaugeLeft

protected static final java.lang.String a_insideGaugeLeft
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_insideGaugeRight

protected static final java.lang.String a_insideGaugeRight
See Also:
Constant Field Values
For internal use only. Application developers should not use this

a_withBottomLabel

protected static final java.lang.String a_withBottomLabel
See Also:
Constant Field Values
For internal use only. Application developers should not use this
Constructor Detail

BaseLabel

public BaseLabel(CommonGauge gauge,
                 int compType)
Method Detail

getPosition

public int getPosition()
Returns the position of the label.

Returns:
the integer constant that represents where the label is placed. Valid values vary based on the subclass.

setPosition

public void setPosition(int position)
Specifies the position of the label.

Parameters:
position - the integer constant that represents where the label is placed. Valid values vary based on the subclass.

convertLabelPositionToInt

public static int convertLabelPositionToInt(java.lang.String position)
For internal use only. Application developers should not use this
Converts Metric Label position String constants to Integer constants. This is used by get/setXML().

convertLabelPositionToString

public static java.lang.String convertLabelPositionToString(int position)
For internal use only. Application developers should not use this
Converts Metric Label value into its String representation. This is used by get/setXML().

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.