Package org.primefaces.component.tabview
Class TabViewBase
- 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
-
- 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:
TabView
public abstract class TabViewBase extends UITabPanel implements Widget, RTLAware, TouchAware, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, MultiViewStateAware<TabViewState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabViewBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
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 TabViewBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActiveIndex()
String
getDir()
String
getEffect()
String
getEffectDuration()
String
getFamily()
String
getOnTabChange()
String
getOnTabClose()
String
getOnTabShow()
String
getOrientation()
String
getStyle()
String
getStyleClass()
String
getTabindex()
String
getWidgetVar()
boolean
isCache()
boolean
isMultiViewState()
boolean
isScrollable()
boolean
isTouchable()
Is this component touch enabled?void
setActiveIndex(int activeIndex)
void
setCache(boolean cache)
void
setDir(String dir)
void
setEffect(String effect)
void
setEffectDuration(String effectDuration)
void
setMultiViewState(boolean multiViewState)
void
setOnTabChange(String onTabChange)
void
setOnTabClose(String onTabClose)
void
setOnTabShow(String onTabShow)
void
setOrientation(String orientation)
void
setScrollable(boolean scrollable)
void
setStyle(String style)
void
setStyleClass(String styleClass)
void
setTabindex(String tabindex)
void
setTouchable(boolean touchable)
Enable/disable touch support for this component.void
setWidgetVar(String widgetVar)
-
Methods inherited from class org.primefaces.component.api.UITabPanel
broadcast, encodeBegin, encodeChildren, getContainerClientId, getDataModel, 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, visitTree
-
Methods 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, 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, getEventNames
-
Methods inherited from interface org.primefaces.component.api.MultiViewStateAware
getMultiViewState, resetMultiViewState, restoreMultiViewState
-
Methods inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
getBehaviorEventMapping
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIPanel
-
getWidgetVar
public String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
getActiveIndex
public int getActiveIndex()
-
setActiveIndex
public void setActiveIndex(int activeIndex)
-
getEffect
public String getEffect()
-
setEffect
public void setEffect(String effect)
-
getEffectDuration
public String getEffectDuration()
-
setEffectDuration
public void setEffectDuration(String effectDuration)
-
isCache
public boolean isCache()
-
setCache
public void setCache(boolean cache)
-
getOnTabChange
public String getOnTabChange()
-
setOnTabChange
public void setOnTabChange(String onTabChange)
-
getOnTabShow
public String getOnTabShow()
-
setOnTabShow
public void setOnTabShow(String onTabShow)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
getOrientation
public String getOrientation()
-
setOrientation
public void setOrientation(String orientation)
-
getOnTabClose
public String getOnTabClose()
-
setOnTabClose
public void setOnTabClose(String onTabClose)
-
setDir
public void setDir(String dir)
-
isScrollable
public boolean isScrollable()
-
setScrollable
public void setScrollable(boolean scrollable)
-
getTabindex
public String getTabindex()
-
setTabindex
public void setTabindex(String tabindex)
-
isTouchable
public boolean isTouchable()
Description copied from interface:TouchAware
Is this component touch enabled?- Specified by:
isTouchable
in interfaceTouchAware
- Returns:
- false to disable
-
setTouchable
public void setTouchable(boolean touchable)
Description copied from interface:TouchAware
Enable/disable touch support for this component.- Specified by:
setTouchable
in interfaceTouchAware
- Parameters:
touchable
- true for touch support
-
isMultiViewState
public boolean isMultiViewState()
- Specified by:
isMultiViewState
in interfaceMultiViewStateAware<TabViewState>
-
setMultiViewState
public void setMultiViewState(boolean multiViewState)
-
-