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

E17492-01

oracle.adf.view.faces.bi.component.gauge
Class BottomLabel

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.gauge.BaseText
          extended by oracle.adf.view.faces.bi.component.gauge.BaseLabel
              extended by oracle.adf.view.faces.bi.component.gauge.BottomLabel
All Implemented Interfaces:
javax.faces.component.StateHolder

public class BottomLabel
extends BaseLabel

Since:
11.0

Field Summary
protected  java.lang.String m_text
           
static org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.gauge.BaseLabel
a_aboveGauge, a_belowGauge, a_insideGauge, a_insideGaugeLeft, a_insideGaugeRight, a_none, a_withBottomLabel, m_defaultPosition, POSITION_KEY
 
Fields inherited from class oracle.adf.view.faces.bi.component.gauge.BaseText
FONT_COLOR_KEY, GAUGE_FONT_KEY, m_defaultFontColor, m_defaultFontSize, m_defaultFontStyle, m_defaultFontTypeface
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
BottomLabel()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 int getPosition()
          Returns the position of the label.
 java.lang.String getText()
          Get the BottomLabel text
 void setPosition(int position)
          Specifies the position of the label.
 void setPosition(java.lang.String position)
          Specifies the location of the label.
 void setText(java.lang.String text)
          Specifies the text for the BottomLabel
 
Methods inherited from class oracle.adf.view.faces.bi.component.gauge.BaseLabel
resetStyleProperties
 
Methods inherited from class oracle.adf.view.faces.bi.component.gauge.BaseText
applyProperties, getGaugeFont, restoreState, setGaugeFont
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_text

protected java.lang.String m_text

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
Constructor Detail

BottomLabel

public BottomLabel()
Method Detail

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.

setPosition

public void setPosition(java.lang.String position)
Specifies the location of the label.

Overrides:
setPosition in class BaseLabel
Parameters:
position - the String indicating where the labels are placed. Valid values are:
  • none - No label for the gauge.
  • belowGauge - Displays the bottom / metric label below the gauge. Note: If the position of both the bottom label and the metric label are set to belowGauge, then both labels are displayed below the gauge. However, the bottom label is displayed above the metric label.
  • insideGauge - Displays the label inside the gauge. Note: Top, bottom, and metric labels are horizontally centered across a gauge. When these labels are positioned inside a gauge, they are also centered vertically within the gauge plot area.

getText

public java.lang.String getText()
Get the BottomLabel text

Returns:
Instance of String

setText

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

Parameters:
text - String to display as the BottomLabel

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class BaseLabel

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

E17492-01

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