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

E17492-01

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

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.BaseTextComponent
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
Annotation, BaseAxisTitle, BaseDataAxisTickLabel, BaseTitle, LegendText, LegendTitle, MarkerText, O1TickLabel, PieLabel, SliceLabel

public abstract class BaseTextComponent
extends BIComplexAttributeBase


Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey GRAPH_FONT_KEY
           
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.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
BaseTextComponent()
           
 
Method Summary
 GraphFont getGraphFont()
          Retrieves the graph font of this text component, if the font is not set before, constructs and returns a default font
 void setGraphFont(GraphFont font)
          Sets a font to this text component
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBeanType, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, 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

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

GRAPH_FONT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey GRAPH_FONT_KEY
Constructor Detail

BaseTextComponent

public BaseTextComponent()
Method Detail

getGraphFont

public GraphFont getGraphFont()
Retrieves the graph font of this text component, if the font is not set before, constructs and returns a default font

Returns:
the font object

setGraphFont

public void setGraphFont(GraphFont font)
Sets a font to this text component

Parameters:
font - the font to be set

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

E17492-01

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