Skip navigation links
oracle.adf.view.faces.bi.component.gauge
Class BottomLabel
java.lang.Object
oracle.adf.view.faces.bi.component.BIComplexAttributeBase
oracle.adf.view.faces.bi.component.gauge.BaseText
oracle.adf.view.faces.bi.component.gauge.BaseLabel
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
|
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.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 |
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
BottomLabel
public BottomLabel()
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
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.