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

E12063-05

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

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.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
           
 
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
LegendText()
           
 
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.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

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
Constructor Detail

LegendText

public LegendText()
Method Detail

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

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

E12063-05

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