Skip navigation links
oracle.adf.view.faces.bi.component.gauge
Class TopLabel
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.TopLabel
- All Implemented Interfaces:
- javax.faces.component.StateHolder
-
public class TopLabel
- 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 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.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
TopLabel
public TopLabel()
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
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.