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

E12063-08

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

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.TopLabel
All Implemented Interfaces:
javax.faces.component.StateHolder

public class TopLabel
extends BaseLabel

Defines properties for the label that appears above the gauge.

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
TopLabel()
           
 
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 TopLabel 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 TopLabel
 
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

TopLabel

public TopLabel()
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_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.

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.
  • aboveGauge - Displays top label above the gauge.
  • 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 TopLabel text

Returns:
Instance of String

setText

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

Parameters:
text - String to display as the TopLabel

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 1 (11.1.1.7.0)

E12063-08

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