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

E17492-02

oracle.adf.view.faces.bi.component.geoMap
Class PieChartThemeFOI

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.geoMap.ThemeFOI
          extended by oracle.adf.view.faces.bi.component.geoMap.NSDPTheme
              extended by oracle.adf.view.faces.bi.component.geoMap.PieChartThemeFOI
All Implemented Interfaces:
javax.faces.component.StateHolder, StyleThemeFOI

public class PieChartThemeFOI
extends NSDPTheme
implements StyleThemeFOI

This complex attribute class display pie charts on a map. ADF map uses the value from the theme to draw a pie chart on a location on the map.


Field Summary
static int DEFAULT_PIERADIUS
           
static java.lang.String DEFAULT_STYLENAME
           
static org.apache.myfaces.trinidad.bean.PropertyKey PIERADIUS_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey STYLENAME_KEY
           
static java.lang.String THEMETYPE
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.geoMap.NSDPTheme
LOCATIONCOLUMN_KEY, THEMENAME_KEY
 
Fields inherited from class oracle.adf.view.faces.bi.component.geoMap.ThemeFOI
CLICKACTION_KEY, CLICKLISTENER_KEY, CONVERTER_KEY, INFOWINDOWCALLBACK_KEY, LEFTCLICKBEHAVIOR_KEY, logger, LOGGERCLASS, MAXZOOM_KEY, MENULABEL_KEY, MINZOOM_KEY, RENDERED_KEY, RIGHTCLICKBEHAVIOR_KEY, SCALING_KEY, SELECTIONLISTENER_KEY, SHORTLABEL_KEY, USEWINDOW_KEY, VALUE_KEY, WINDOWHEIGHT_KEY, WINDOWWIDTH_KEY
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
PieChartThemeFOI()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.lang.String getDefaultStyleName()
          For internal use only.
 java.lang.String getInternalThemeType()
          For internal use only.
 java.lang.String[] getNonStyleColors()
          For internal use only.
 int getPieRadius()
          Return the radius of the pie chart in pixel
 SliceSet getSliceSet()
          Return the SliceSet of this Pie Chart Theme.
 java.lang.String getStyleName()
          Return the styleName of this pie chart Theme
 void setPieRadius(int pieRadius)
          Specfies the radius of the pie charts.
 void setStyleName(java.lang.String styleName)
          Applies a style to the slices of the pie based on the specified XML file.
 
Methods inherited from class oracle.adf.view.faces.bi.component.geoMap.NSDPTheme
getLocationColumn, getThemeName, setLocationColumn, setThemeName
 
Methods inherited from class oracle.adf.view.faces.bi.component.geoMap.ThemeFOI
convertLeftClickBehavior, convertRightClickBehavior, getClickAction, getClickListener, getColorFromStyle, getConverter, getInfoWindowCallback, getLeftClickBehavior, getMaxZoom, getMenuLabel, getMinZoom, getNumberFormat, getProperty, getRightClickBehavior, getScaling, getSelectionListener, getShortLabel, getThemeClientSideLeftClickBehavior, getThemeClientSideRightClickBehavior, getWindowHeight, getWindowWidth, isLoaded, isNumberFormatSpecified, isRendered, isToolbarVisible, isUseWindow, setClickAction, setClickListener, setConverter, setInfoWindowCallback, setLeftClickBehavior, setLoaded, setMaxZoom, setMenuLabel, setMinZoom, setNumberFormat, setRendered, setRightClickBehavior, setScaling, setSelectionListener, setShortLabel, setToolbarVisible, setUseWindow, setWindowHeight, setWindowWidth
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, 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

DEFAULT_STYLENAME

public static final java.lang.String DEFAULT_STYLENAME
See Also:
Constant Field Values

DEFAULT_PIERADIUS

public static final int DEFAULT_PIERADIUS
See Also:
Constant Field Values

THEMETYPE

public static final java.lang.String THEMETYPE
See Also:
Constant Field Values

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

PIERADIUS_KEY

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

STYLENAME_KEY

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

PieChartThemeFOI

public PieChartThemeFOI()
Method Detail

setPieRadius

public void setPieRadius(int pieRadius)
Specfies the radius of the pie charts. The default value is 5.

Parameters:
pieRadius - The radius of the Pie charts in pixel

getPieRadius

public int getPieRadius()
Return the radius of the pie chart in pixel

Returns:
The radius of the pie charts in pixel

getSliceSet

public SliceSet getSliceSet()
Return the SliceSet of this Pie Chart Theme. SliceSet is a map that has all the Slice definition for this pie chart Theme.

Returns:
The SliceSet of this Pie Chart Theme.

setStyleName

public void setStyleName(java.lang.String styleName)
Applies a style to the slices of the pie based on the specified XML file. Valid vaues are the name of a standard style or the path of a custom XML file that you want to set as a style for this map. Predefined map styles are: - April - Autumn - Black and White - Comet - Confetti - Earth - Executive - Financial - Glass - Nautical - Projection - Regatta - Southwest - Transparent

Parameters:
styleName - The styleName for this pie chart Theme

getStyleName

public java.lang.String getStyleName()
Return the styleName of this pie chart Theme

Specified by:
getStyleName in interface StyleThemeFOI
Returns:
The styleName of this pie chart Theme

getNonStyleColors

public java.lang.String[] getNonStyleColors()
For internal use only. Application developers should not use this.

Specified by:
getNonStyleColors in interface StyleThemeFOI
For internal use only. Application developers should not use this

getDefaultStyleName

public java.lang.String getDefaultStyleName()
For internal use only. Application developers should not use this.

Specified by:
getDefaultStyleName in interface StyleThemeFOI
For internal use only. Application developers should not use this

getInternalThemeType

public java.lang.String getInternalThemeType()
For internal use only. Application developers should not use this.

Specified by:
getInternalThemeType in class ThemeFOI
For internal use only. Application developers should not use this

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class ThemeFOI

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

E17492-02

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