org.openfaces.component.chart
Class GridChartView

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.GridChartView
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
Direct Known Subclasses:
BarChartView, LineChartView

public abstract class GridChartView
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
GridChartView()
           
 
Method Summary
 void decodeAction(java.lang.String fieldValue)
           
 java.util.List<ChartAxis> getAxes()
           
 ChartAxis getBaseAxis()
           
 ChartGridLines getBaseGrid()
           
 ChartLabelPosition getDefaultLabelsPosition()
           
 LineStyle getDefaultOutlineStyle()
           
 java.lang.String getFamily()
           
 java.util.List<ChartGridLines> getGridLines()
           
 ChartAxis getKeyAxis()
           
 java.lang.String getKeyAxisLabel()
           
 ChartGridLines getKeyGrid()
           
 double getLabelsOffset()
           
 ChartLabelPosition getNegativeLabelsPosition()
           
 Orientation getOrientation()
           
 java.util.Collection<LineStyle> getOutlines()
           
 GridPointInfo getPoint()
           
 ChartLabelPosition getPositiveLabelsPosition()
           
 ChartDomain getShowAxes()
           
 ChartAxis getValueAxis()
           
 java.lang.String getValueAxisLabel()
           
 ChartGridLines getValueGrid()
           
 boolean isLabelsVisible()
           
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object object)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setBaseAxis(ChartAxis baseAxis)
           
 void setDefaultLabelsPosition(ChartLabelPosition defaultLabelsPosition)
           
 void setDefaultOutlineStyle(LineStyle defaultOutlineStyle)
           
 void setKeyAxisLabel(java.lang.String keyAxisLabel)
           
 void setLabelsOffset(double labelsOffset)
           
 void setLabelsVisible(boolean labelsVisible)
           
 void setNegativeLabelsPosition(ChartLabelPosition negativeLabelsPosition)
           
 void setOrientation(Orientation orientation)
           
 void setOutlines(java.util.Collection outlines)
           
 void setPoint(GridPointInfo point)
           
 void setPositiveLabelsPosition(ChartLabelPosition positiveLabelsPosition)
           
 void setShowAxes(ChartDomain showAxes)
           
 void setValueAxisLabel(java.lang.String valueAxisLabel)
           
 
Methods inherited from class org.openfaces.component.chart.ChartView
getBackgroundPaint, getChart, getChartPopup, getColors, getComponentsChain, getConfigurator, 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
 
Methods inherited from interface org.openfaces.renderkit.cssparser.StyledComponent
getHint
 

Constructor Detail

GridChartView

public GridChartView()
Method Detail

getPoint

public GridPointInfo getPoint()

setPoint

public void setPoint(GridPointInfo point)

getOrientation

public Orientation getOrientation()

setOrientation

public void setOrientation(Orientation orientation)

getBaseAxis

public ChartAxis getBaseAxis()

getBaseGrid

public ChartGridLines getBaseGrid()

setBaseAxis

public void setBaseAxis(ChartAxis baseAxis)

getKeyAxis

public ChartAxis getKeyAxis()

getKeyGrid

public ChartGridLines getKeyGrid()

getValueGrid

public ChartGridLines getValueGrid()

getValueAxis

public ChartAxis getValueAxis()

getAxes

public java.util.List<ChartAxis> getAxes()

isLabelsVisible

public boolean isLabelsVisible()

setLabelsVisible

public void setLabelsVisible(boolean labelsVisible)

getGridLines

public java.util.List<ChartGridLines> getGridLines()

getDefaultOutlineStyle

public LineStyle getDefaultOutlineStyle()

setDefaultOutlineStyle

public void setDefaultOutlineStyle(LineStyle defaultOutlineStyle)

getOutlines

public java.util.Collection<LineStyle> getOutlines()

setOutlines

public void setOutlines(java.util.Collection outlines)

getShowAxes

public ChartDomain getShowAxes()

setShowAxes

public void setShowAxes(ChartDomain showAxes)

getFamily

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

getKeyAxisLabel

public java.lang.String getKeyAxisLabel()

setKeyAxisLabel

public void setKeyAxisLabel(java.lang.String keyAxisLabel)

getValueAxisLabel

public java.lang.String getValueAxisLabel()

setValueAxisLabel

public void setValueAxisLabel(java.lang.String valueAxisLabel)

getDefaultLabelsPosition

public ChartLabelPosition getDefaultLabelsPosition()

setDefaultLabelsPosition

public void setDefaultLabelsPosition(ChartLabelPosition defaultLabelsPosition)

getPositiveLabelsPosition

public ChartLabelPosition getPositiveLabelsPosition()

setPositiveLabelsPosition

public void setPositiveLabelsPosition(ChartLabelPosition positiveLabelsPosition)

getNegativeLabelsPosition

public ChartLabelPosition getNegativeLabelsPosition()

setNegativeLabelsPosition

public void setNegativeLabelsPosition(ChartLabelPosition negativeLabelsPosition)

getLabelsOffset

public double getLabelsOffset()

setLabelsOffset

public void setLabelsOffset(double labelsOffset)

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

decodeAction

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


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