oracle.dss.gauge
Class BaseLabel
java.lang.Object
   oracle.dss.gauge.BaseGaugeComponent
oracle.dss.gauge.BaseGaugeComponent
       oracle.dss.gauge.BaseText
oracle.dss.gauge.BaseText
           oracle.dss.gauge.BaseLabel
oracle.dss.gauge.BaseLabel
- All Implemented Interfaces: 
- FontAttribute
- Direct Known Subclasses: 
- BottomLabel, MetricLabel, TopLabel
- public class BaseLabel 
- extends BaseText
- Since:
- 11.0
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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
BaseLabel
public BaseLabel(CommonGauge gauge,
                 int compType)
getPosition
public int getPosition()
- Gets the position of the label.
 
- 
- Returns:
- Integer representing where the label
         should be placed; valid constants
         are in the Gaugeclass
         starting with LP_.
 
setPosition
public void setPosition(int position)
- Sets the position of the metric label.
 
- 
- Parameters:
- position- Integer representing where the metric
                 label should be placed; valid constants
                 are in this class starting with LP_.
 
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().
 
Copyright © 1997, 2011, Oracle. All rights reserved.