Class DataScroller
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIData
-
- org.primefaces.component.api.UIData
-
- org.primefaces.component.datascroller.DataScrollerBase
-
- org.primefaces.component.datascroller.DataScroller
-
- All Implemented Interfaces:
EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.NamingContainer,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.UniqueIdVendor,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,PrimeClientBehaviorHolder,Widget
public class DataScroller extends DataScrollerBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.datascroller.DataScrollerBase
DataScrollerBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_TYPEstatic StringCONTAINER_CLASSstatic StringCONTENT_CLASSstatic StringHEADER_CLASSstatic StringINLINE_CONTAINER_CLASSstatic StringITEM_CLASSstatic StringLIST_CLASSstatic StringLOADER_CLASSstatic StringLOADING_CLASSstatic StringVIRTUALSCROLL_WRAPPER_CLASS-
Fields inherited from class org.primefaces.component.datascroller.DataScrollerBase
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 DataScroller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Class<? extends javax.faces.event.BehaviorEvent>>getBehaviorEventMapping()StringgetDefaultEventName()Collection<String>getEventNames()booleanisLoadRequest()booleanisVirtualScrollingRequest(javax.faces.context.FacesContext context)protected booleanshouldProcessChild(javax.faces.context.FacesContext context, int rowIndex, javax.faces.event.PhaseId phaseId)-
Methods inherited from class org.primefaces.component.datascroller.DataScrollerBase
getBuffer, getChunkSize, getFamily, getMode, getScrollHeight, getStyle, getStyleClass, getWidgetVar, isStartAtBottom, isVirtualScroll, setBuffer, setChunkSize, setMode, setScrollHeight, setStartAtBottom, setStyle, setStyleClass, setVirtualScroll, setWidgetVar
-
Methods inherited from class org.primefaces.component.api.UIData
encodeBegin, getClientId, getContainerClientId, getDataModel, getIterableChildren, getRowIndex, getRowIndexVar, invokeOnComponent, isLazy, isNestedWithinIterator, isRowStatePreserved, markInitialState, preDecode, preEncode, preUpdate, preValidate, process, processChildren, processColumnFacets, processDecodes, processFacets, processPhase, processUpdates, processValidators, requiresColumns, restoreDescendantState, restoreDescendantState, restoreState, saveDescendantState, saveDescendantState, saveState, setDataModel, setId, setLazy, setRowIndex, setRowIndexVar, setRowModel, setRowStatePreserved, shouldSkipChildren, shouldVisitChildren, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows, visitTree
-
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getValue, getVar, isRowAvailable, queueEvent, setFirst, setFooter, setHeader, setRows, setValue, setValueBinding, setValueExpression, setVar
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
-
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
-
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
-
INLINE_CONTAINER_CLASS
public static final String INLINE_CONTAINER_CLASS
- See Also:
- Constant Field Values
-
HEADER_CLASS
public static final String HEADER_CLASS
- See Also:
- Constant Field Values
-
CONTENT_CLASS
public static final String CONTENT_CLASS
- See Also:
- Constant Field Values
-
LIST_CLASS
public static final String LIST_CLASS
- See Also:
- Constant Field Values
-
ITEM_CLASS
public static final String ITEM_CLASS
- See Also:
- Constant Field Values
-
LOADER_CLASS
public static final String LOADER_CLASS
- See Also:
- Constant Field Values
-
LOADING_CLASS
public static final String LOADING_CLASS
- See Also:
- Constant Field Values
-
VIRTUALSCROLL_WRAPPER_CLASS
public static final String VIRTUALSCROLL_WRAPPER_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:
getEventNamesin interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getEventNamesin classjavax.faces.component.UIComponentBase
-
getDefaultEventName
public String getDefaultEventName()
- Specified by:
getDefaultEventNamein interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getDefaultEventNamein classjavax.faces.component.UIComponentBase
-
isLoadRequest
public boolean isLoadRequest()
-
isVirtualScrollingRequest
public boolean isVirtualScrollingRequest(javax.faces.context.FacesContext context)
-
shouldProcessChild
protected boolean shouldProcessChild(javax.faces.context.FacesContext context, int rowIndex, javax.faces.event.PhaseId phaseId)- Overrides:
shouldProcessChildin classUIData
-
-