oracle.adf.view.faces.bi.component.gauge
Class LegendText
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.LegendText
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class LegendText
- extends BaseText
- Since:
- 11.0
Field Summary |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MIN_LENGTH_KEY
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_TYPE_KEY
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
|
Method Summary |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
|
int |
getMinLength()
Retrieves the minimum length of text to display before truncation when
there is no room to display all the text. |
int |
getNumberType()
Gets the type of number to be displayed for items in the legend. |
protected void |
resetStyleProperties()
|
void |
setMinLength(int min)
Specifies the minimum length of text to display before truncation when
there is no room to display all the text. |
void |
setNumberType(int type)
Sets the type of number to be displayed for items in the legend. |
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 |
TYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
NUMBER_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_TYPE_KEY
MIN_LENGTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MIN_LENGTH_KEY
LegendText
public LegendText()
getNumberType
public int getNumberType()
- Gets the type of number to be displayed for items in the legend.
- Returns:
- Integer representing the type of number; valid values
are constants in
Gauge
beginning
with NT_
setNumberType
public void setNumberType(int type)
- Sets the type of number to be displayed for items in the legend.
- Parameters:
type
- Integer representing the type of number intended
for display in this gauge; valid values are constants
in the Gauge
class beginning with
NT_
setMinLength
public void setMinLength(int min)
- Specifies the minimum length of text to display before truncation when
there is no room to display all the text.
- Parameters:
min
- the minimum length of text
getMinLength
public int getMinLength()
- Retrieves the minimum length of text to display before truncation when
there is no room to display all the text.
- Returns:
- the minimum length of text
resetStyleProperties
protected void resetStyleProperties()
- Overrides:
resetStyleProperties
in class BaseText
getBeanType
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
- Overrides:
getBeanType
in class BaseText
Copyright © 1997, 2009, Oracle. All rights reserved.