Package org.primefaces.component.tabview
Class TabView
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- org.primefaces.component.api.UITabPanel
-
- org.primefaces.component.tabview.TabViewBase
-
- org.primefaces.component.tabview.TabView
-
- 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,MultiViewStateAware<TabViewState>,PrimeClientBehaviorHolder,RTLAware,TouchAware,Widget
- Direct Known Subclasses:
RibbonBase
public class TabView extends TabViewBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.tabview.TabViewBase
TabViewBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTIVE_TAB_CONTENT_CLASSstatic StringACTIVE_TAB_HEADER_CLASSstatic StringCOMPONENT_TYPEstatic StringCONTAINER_CLASSstatic StringINACTIVE_TAB_CONTENT_CLASSstatic StringINACTIVE_TAB_HEADER_CLASSstatic StringNAVIGATOR_CLASSstatic StringNAVIGATOR_LEFT_CLASSstatic StringNAVIGATOR_LEFT_ICON_CLASSstatic StringNAVIGATOR_RIGHT_CLASSstatic StringNAVIGATOR_RIGHT_ICON_CLASSstatic StringNAVIGATOR_SCROLLER_CLASSstatic StringPANELS_CLASSstatic StringSCROLLABLE_TABS_CLASS-
Fields inherited from class org.primefaces.component.tabview.TabViewBase
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 TabView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabfindTab(String tabClientId)voidforEachTab(ConsumerThree<Tab,Integer,Boolean> callback)Map<String,Class<? extends javax.faces.event.BehaviorEvent>>getBehaviorEventMapping()Collection<String>getEventNames()TabViewStategetMultiViewState(boolean create)booleanisContentLoadRequest(javax.faces.context.FacesContext context)voidprocessUpdates(javax.faces.context.FacesContext context)voidqueueEvent(javax.faces.event.FacesEvent event)protected voidresetActiveIndex()voidresetMultiViewState()voidrestoreMultiViewState()-
Methods inherited from class org.primefaces.component.tabview.TabViewBase
getActiveIndex, getDir, getEffect, getEffectDuration, getFamily, getOnTabChange, getOnTabClose, getOnTabShow, getOrientation, getStyle, getStyleClass, getTabindex, getWidgetVar, isCache, isMultiViewState, isScrollable, isTouchable, setActiveIndex, setCache, setDir, setEffect, setEffectDuration, setMultiViewState, setOnTabChange, setOnTabClose, setOnTabShow, setOrientation, setScrollable, setStyle, setStyleClass, setTabindex, setTouchable, setWidgetVar
-
Methods inherited from class org.primefaces.component.api.UITabPanel
broadcast, encodeBegin, encodeChildren, getContainerClientId, getDataModel, getFacesContext, getIndex, getIndexData, getOffset, getRendersChildren, getRowCount, getSize, getStep, getValue, getVar, getVarStatus, invokeOnComponent, isDynamic, isPrependId, isRepeating, process, processDecodes, processValidators, resetLoadedTabsState, saveState, setDynamic, setIndex, setOffset, setPrependId, setSize, setStep, setValue, setValueExpression, setVar, setVarStatus, shouldSkipChildren, visitTree
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, 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, 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, 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
-
NAVIGATOR_CLASS
public static final String NAVIGATOR_CLASS
- See Also:
- Constant Field Values
-
INACTIVE_TAB_HEADER_CLASS
public static final String INACTIVE_TAB_HEADER_CLASS
- See Also:
- Constant Field Values
-
ACTIVE_TAB_HEADER_CLASS
public static final String ACTIVE_TAB_HEADER_CLASS
- See Also:
- Constant Field Values
-
PANELS_CLASS
public static final String PANELS_CLASS
- See Also:
- Constant Field Values
-
ACTIVE_TAB_CONTENT_CLASS
public static final String ACTIVE_TAB_CONTENT_CLASS
- See Also:
- Constant Field Values
-
INACTIVE_TAB_CONTENT_CLASS
public static final String INACTIVE_TAB_CONTENT_CLASS
- See Also:
- Constant Field Values
-
NAVIGATOR_SCROLLER_CLASS
public static final String NAVIGATOR_SCROLLER_CLASS
- See Also:
- Constant Field Values
-
NAVIGATOR_LEFT_CLASS
public static final String NAVIGATOR_LEFT_CLASS
- See Also:
- Constant Field Values
-
NAVIGATOR_RIGHT_CLASS
public static final String NAVIGATOR_RIGHT_CLASS
- See Also:
- Constant Field Values
-
NAVIGATOR_LEFT_ICON_CLASS
public static final String NAVIGATOR_LEFT_ICON_CLASS
- See Also:
- Constant Field Values
-
NAVIGATOR_RIGHT_ICON_CLASS
public static final String NAVIGATOR_RIGHT_ICON_CLASS
- See Also:
- Constant Field Values
-
SCROLLABLE_TABS_CLASS
public static final String SCROLLABLE_TABS_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
-
isContentLoadRequest
public boolean isContentLoadRequest(javax.faces.context.FacesContext context)
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEventin classUITabPanel
-
resetActiveIndex
protected void resetActiveIndex()
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdatesin classUITabPanel
-
forEachTab
public void forEachTab(ConsumerThree<Tab,Integer,Boolean> callback)
-
restoreMultiViewState
public void restoreMultiViewState()
-
getMultiViewState
public TabViewState getMultiViewState(boolean create)
-
resetMultiViewState
public void resetMultiViewState()
-
-