Class Dashboard
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- org.primefaces.component.dashboard.DashboardBase
-
- org.primefaces.component.dashboard.Dashboard
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,PrimeClientBehaviorHolder
,Widget
public class Dashboard extends DashboardBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.dashboard.DashboardBase
DashboardBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_CLASS
static String
COMPONENT_TYPE
static String
CONTAINER_CLASS
-
Fields inherited from class org.primefaces.component.dashboard.DashboardBase
COMPONENT_FAMILY, DEFAULT_RENDERER
-
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
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description Dashboard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Class<? extends javax.faces.event.BehaviorEvent>>
getBehaviorEventMapping()
Collection<String>
getEventNames()
void
processDecodes(javax.faces.context.FacesContext context)
void
processUpdates(javax.faces.context.FacesContext context)
void
processValidators(javax.faces.context.FacesContext context)
void
queueEvent(javax.faces.event.FacesEvent event)
protected void
updateDashboardModel(DashboardModel model, String widgetId, Integer itemIndex, Integer receiverColumnIndex, Integer senderColumnIndex)
-
Methods inherited from class org.primefaces.component.dashboard.DashboardBase
getFamily, getModel, getStyle, getStyleClass, getWidgetVar, isDisabled, isReordering, setDisabled, setModel, setReordering, setStyle, setStyleClass, setWidgetVar
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, 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, getDefaultEventName
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
CONTAINER_CLASS
public static final String CONTAINER_CLASS
- See Also:
- Constant Field Values
-
COLUMN_CLASS
public static final String COLUMN_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in classjavax.faces.component.UIComponentBase
-
updateDashboardModel
protected void updateDashboardModel(DashboardModel model, String widgetId, Integer itemIndex, Integer receiverColumnIndex, Integer senderColumnIndex)
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodes
in classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Overrides:
processValidators
in classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates
in classjavax.faces.component.UIComponentBase
-
-