org.primefaces.component.chart.bar
Class BarChart

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.primefaces.component.chart.UIChart
                  extended by org.primefaces.component.chart.CartesianChart
                      extended by org.primefaces.component.chart.bar.BarChart
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class BarChart
extends CartesianChart
implements Widget


Nested Class Summary
protected static class BarChart.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
BarChart()
           
 
Method Summary
 int getBarMargin()
           
 int getBarPadding()
           
 String getDatatipFormat()
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFamily()
           
 double getMax()
           
 double getMin()
           
 String getOrientation()
           
 String getWidgetVar()
           
 void handleAttribute(String name, Object value)
           
 boolean isAnimate()
           
 boolean isBreakOnNull()
           
 boolean isShowDatatip()
           
 boolean isStacked()
           
 boolean isZoom()
           
 String resolveWidgetVar()
           
 void setAnimate(boolean _animate)
           
 void setBarMargin(int _barMargin)
           
 void setBarPadding(int _barPadding)
           
 void setBreakOnNull(boolean _breakOnNull)
           
 void setDatatipFormat(String _datatipFormat)
           
 void setMax(double _max)
           
 void setMin(double _min)
           
 void setOrientation(String _orientation)
           
 void setShowDatatip(boolean _showDatatip)
           
 void setStacked(boolean _stacked)
           
 void setWidgetVar(String _widgetVar)
           
 void setZoom(boolean _zoom)
           
 
Methods inherited from class org.primefaces.component.chart.CartesianChart
getCategories
 
Methods inherited from class org.primefaces.component.chart.UIChart
getDefaultEventName, getEventNames, getExtender, getLegendCols, getLegendPosition, getLegendRows, getSeriesColors, getStyle, getStyleClass, getTitle, getXaxisAngle, getXaxisLabel, getYaxisAngle, getYaxisLabel, isShadow, queueEvent, setExtender, setLegendCols, setLegendPosition, setLegendRows, setSeriesColors, setShadow, setStyle, setStyleClass, setTitle, setXaxisAngle, setXaxisLabel, setYaxisAngle, setYaxisLabel
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

BarChart

public BarChart()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIOutput

getWidgetVar

public String getWidgetVar()
Overrides:
getWidgetVar in class UIChart

setWidgetVar

public void setWidgetVar(String _widgetVar)
Overrides:
setWidgetVar in class UIChart

getBarPadding

public int getBarPadding()

setBarPadding

public void setBarPadding(int _barPadding)

getBarMargin

public int getBarMargin()

setBarMargin

public void setBarMargin(int _barMargin)

getOrientation

public String getOrientation()

setOrientation

public void setOrientation(String _orientation)

isStacked

public boolean isStacked()

setStacked

public void setStacked(boolean _stacked)

getMin

public double getMin()

setMin

public void setMin(double _min)

getMax

public double getMax()

setMax

public void setMax(double _max)

isBreakOnNull

public boolean isBreakOnNull()

setBreakOnNull

public void setBreakOnNull(boolean _breakOnNull)

isZoom

public boolean isZoom()

setZoom

public void setZoom(boolean _zoom)

isAnimate

public boolean isAnimate()

setAnimate

public void setAnimate(boolean _animate)

isShowDatatip

public boolean isShowDatatip()

setShowDatatip

public void setShowDatatip(boolean _showDatatip)

getDatatipFormat

public String getDatatipFormat()

setDatatipFormat

public void setDatatipFormat(String _datatipFormat)

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2012. All Rights Reserved.