org.openfaces.component.chart
Class PieChartView

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by org.openfaces.component.chart.ChartView
                  extended by org.openfaces.component.chart.PieChartView
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, HasLabels, StyledComponent

public class PieChartView
extends ChartView


Field Summary
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
PieChartView()
           
 
Method Summary
 void decodeAction(java.lang.String fieldValue)
           
 ChartConfigurator getConfigurator()
           
 java.lang.String getFamily()
           
 java.lang.String getHint()
           
 PieSectorInfo getSector()
           
 java.util.List<PieSectorProperties> getSectors()
           
 PieSectorInfo getSelectedSector()
           
 java.awt.Color getShadowColor()
           
 double getShadowXOffset()
           
 double getShadowYOffset()
           
 boolean isLabelsVisible()
           
 java.lang.Boolean isShowShadow()
           
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object object)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setLabelsVisible(boolean labelsVisible)
           
 void setSector(PieSectorInfo sector)
           
 void setSelectedSector(PieSectorInfo selectedSector)
           
 void setShadowColor(java.awt.Color shadowColor)
           
 void setShadowXOffset(double shadowXOffset)
           
 void setShadowYOffset(double shadowYOffset)
           
 void setShowShadow(java.lang.Boolean showShadow)
           
 
Methods inherited from class org.openfaces.component.chart.ChartView
getBackgroundPaint, getChart, getChartPopup, getColors, getComponentsChain, getDynamicOnclick, getDynamicOnMouseOut, getDynamicOnMouseOver, getDynamicTooltip, getDynamicUrl, getForegroundAlpha, getLabels, getOnclick, getOnmouseout, getOnmouseover, getStyle, getStyleObjectModel, getTextStyle, getTitlePaint, getTooltip, getUrl, getWallColor, isEnable3D, setBackgroundPaint, setColors, setDynamicTooltip, setDynamicUrl, setEnable3D, setForegroundAlpha, setLabels, setOnclick, setOnmouseout, setOnmouseover, setStyle, setTextStyle, setTitlePaint, setTooltip, setUrl, setWallColor
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieChartView

public PieChartView()
Method Detail

getSelectedSector

public PieSectorInfo getSelectedSector()

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UICommand

setSelectedSector

public void setSelectedSector(PieSectorInfo selectedSector)

isLabelsVisible

public boolean isLabelsVisible()

setLabelsVisible

public void setLabelsVisible(boolean labelsVisible)

getSectors

public java.util.List<PieSectorProperties> getSectors()

getSector

public PieSectorInfo getSector()

setSector

public void setSector(PieSectorInfo sector)

isShowShadow

public java.lang.Boolean isShowShadow()

setShowShadow

public void setShowShadow(java.lang.Boolean showShadow)

getShadowXOffset

public double getShadowXOffset()

setShadowXOffset

public void setShadowXOffset(double shadowXOffset)

getShadowYOffset

public double getShadowYOffset()

setShadowYOffset

public void setShadowYOffset(double shadowYOffset)

getShadowColor

public java.awt.Color getShadowColor()

setShadowColor

public void setShadowColor(java.awt.Color shadowColor)

decodeAction

public void decodeAction(java.lang.String fieldValue)
Specified by:
decodeAction in class ChartView

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class ChartView

restoreState

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

getHint

public java.lang.String getHint()

getConfigurator

public ChartConfigurator getConfigurator()
Specified by:
getConfigurator in class ChartView


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.