Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.adf.view.faces.bi.component.graph
Class PieLabel

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.BaseTextComponent
          extended by oracle.adf.view.faces.bi.component.graph.PieLabel

All Implemented Interfaces:
javax.faces.component.StateHolder

public class PieLabel
extends BaseTextComponent

Defines properties for the label that appears below a pie.

Since:
release specific (what release of product did this appear in)

Field Summary
protected  java.awt.Color m_defaultFontColor
           
protected  int m_defaultFontSize
           
protected  int m_defaultFontStyle
           
protected  java.lang.String m_defaultFontTypeface
           
static org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
           
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.graph.BaseTextComponent
GRAPH_FONT_KEY

 

Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY

 

Constructor Summary
PieLabel()
           

 

Method Summary
 void applyProperties(java.util.HashMap map)
          Applications should not call this method.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.lang.String getText()
          Retrieves the text for the title.
 boolean isRendered()
          Indicates whether slice labels appear in the graph.
protected  void resetStyleProperties()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
           
 void setRendered(boolean rendered)
          Specifies whether slice labels appear in the graph.
 void setText(java.lang.String str)
          Specifies the text for the title.

 

Methods inherited from class oracle.adf.view.faces.bi.component.graph.BaseTextComponent
getGraphFont, setGraphFont

 

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_defaultFontTypeface

protected java.lang.String m_defaultFontTypeface

m_defaultFontStyle

protected int m_defaultFontStyle

m_defaultFontSize

protected int m_defaultFontSize

m_defaultFontColor

protected java.awt.Color m_defaultFontColor

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

RENDERED_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY

Constructor Detail

PieLabel

public PieLabel()

Method Detail

setText

public void setText(java.lang.String str)
Specifies the text for the title. When you specify text for a title, the Rendered property of the title is automatically set to true.

If you use token substitution, pass a key string to this method, not a token string.

Parameters:
str - The text of this title.
See Also:
BaseTokenSubstitution.getKeyString(java.lang.String)

getText

public java.lang.String getText()
Retrieves the text for the title.
Returns:
The text for the title.

isRendered

public boolean isRendered()
Indicates whether slice labels appear in the graph.
Returns:
true if it is rendered, false if it is not rendered.

setRendered

public void setRendered(boolean rendered)
Specifies whether slice labels appear in the graph. Setting the Rendered property to false
Parameters:
rendered - true to display slice labels, false to hide them.

applyProperties

public void applyProperties(java.util.HashMap map)
Applications should not call this method.
Overrides:
applyProperties in class BIComplexAttributeBase
Parameters:
map -

resetStyleProperties

protected void resetStyleProperties()

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object stateObj)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class BIComplexAttributeBase

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Specified by:
getBeanType in class BIComplexAttributeBase

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


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