Class CarouselBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.primefaces.component.api.UITabPanel
org.primefaces.component.carousel.CarouselBase
- 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.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,PrimeClientBehaviorHolder,TouchAware,Widget
- Direct Known Subclasses:
Carousel
public abstract class CarouselBase
extends UITabPanel
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, TouchAware
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.faces.component.UIPanel
COMPONENT_TYPEFields 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_KEYFields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHARFields inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
DEFAULT_SELECT_EVENT_NAMESFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetPage()getStyle()booleanbooleanIs this component touch enabled?voidsetAutoplayInterval(int autoplayInterval) voidsetCircular(boolean circular) voidsetContainerStyleClass(String containerStyleClass) voidsetContentStyleClass(String contentStyleClass) voidsetFooterText(String footerText) voidsetHeaderText(String headerText) voidsetIndicatorsContentStyleClass(String indicatorsContentStyleClass) voidsetNumScroll(int numScroll) voidsetNumVisible(int numVisible) voidsetOnPageChange(String onPageChange) voidsetOrientation(String orientation) voidsetPage(int page) voidsetPaginator(boolean paginator) voidsetResponsiveOptions(List<ResponsiveOption> responsiveOptions) voidvoidsetStyleClass(String styleClass) voidsetTouchable(Boolean touchable) Enable/disable touch support for this component.voidsetVerticalViewPortHeight(String verticalViewPortHeight) voidsetWidgetVar(String widgetVar) Methods inherited from class org.primefaces.component.api.UITabPanel
broadcast, encodeBegin, encodeChildren, forEachTab, forEachTab, getContainerClientId, getDataModel, getDynamicTab, getIndex, getIndexData, getOffset, getRendersChildren, getRowCount, getSize, getStep, getValue, getVar, getVarStatus, invokeOnComponent, isDynamic, isPrependId, isRepeating, process, processDecodes, processUpdates, processValidators, queueEvent, resetLoadedTabsState, saveState, setDynamic, setIndex, setOffset, setPrependId, setSize, setStep, setValue, setValueExpression, setVar, setVarStatus, shouldSkipChildren, visitTreeMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods 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, setInViewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesMethods inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
getBehaviorEventMappingMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
CarouselBase
public CarouselBase()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIPanel
-
getWidgetVar
-
setWidgetVar
-
getPage
public int getPage() -
setPage
public void setPage(int page) -
isCircular
public boolean isCircular() -
setCircular
public void setCircular(boolean circular) -
getAutoplayInterval
public int getAutoplayInterval() -
setAutoplayInterval
public void setAutoplayInterval(int autoplayInterval) -
getNumVisible
public int getNumVisible() -
setNumVisible
public void setNumVisible(int numVisible) -
getNumScroll
public int getNumScroll() -
setNumScroll
public void setNumScroll(int numScroll) -
getResponsiveOptions
-
setResponsiveOptions
-
getOrientation
-
setOrientation
-
getVerticalViewPortHeight
-
setVerticalViewPortHeight
-
getStyle
-
setStyle
-
getStyleClass
-
setStyleClass
-
getContentStyleClass
-
setContentStyleClass
-
getContainerStyleClass
-
setContainerStyleClass
-
getIndicatorsContentStyleClass
-
setIndicatorsContentStyleClass
-
getHeaderText
-
setHeaderText
-
isTouchable
Description copied from interface:TouchAwareIs this component touch enabled?- Specified by:
isTouchablein interfaceTouchAware- Returns:
- false to disable
-
setTouchable
Description copied from interface:TouchAwareEnable/disable touch support for this component.- Specified by:
setTouchablein interfaceTouchAware- Parameters:
touchable- true for touch support
-
getOnPageChange
-
setOnPageChange
-
isPaginator
public boolean isPaginator() -
setPaginator
public void setPaginator(boolean paginator)
-