org.primefaces.component.tabview
Class TabView

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.primefaces.component.api.UIData
                  extended by 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.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, RTLAware, Widget

public class TabView
extends UIData
implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class TabView.PropertyKeys
           
 
Field Summary
static String ACTIVE_TAB_CONTENT_CLASS
           
static String ACTIVE_TAB_HEADER_CLASS
           
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String CONTAINER_CLASS
           
static String INACTIVE_TAB_CONTENT_CLASS
           
static String INACTIVE_TAB_HEADER_CLASS
           
static String NAVIGATOR_CLASS
           
static String NAVIGATOR_LEFT_CLASS
           
static String NAVIGATOR_LEFT_ICON_CLASS
           
static String NAVIGATOR_RIGHT_CLASS
           
static String NAVIGATOR_RIGHT_ICON_CLASS
           
static String NAVIGATOR_SCROLLER_CLASS
           
static String PANELS_CLASS
           
static String SCROLLABLE_TABS_CLASS
           
 
Fields inherited from class org.primefaces.component.api.UIData
PAGINATOR_ACTIVE_PAGE_CLASS, PAGINATOR_BOTTOM_CONTAINER_CLASS, PAGINATOR_CURRENT_CLASS, PAGINATOR_FIRST_PAGE_ICON_CLASS, PAGINATOR_FIRST_PAGE_LINK_CLASS, PAGINATOR_JTP_CLASS, PAGINATOR_LAST_PAGE_ICON_CLASS, PAGINATOR_LAST_PAGE_LINK_CLASS, PAGINATOR_NEXT_PAGE_ICON_CLASS, PAGINATOR_NEXT_PAGE_LINK_CLASS, PAGINATOR_PAGE_CLASS, PAGINATOR_PAGES_CLASS, PAGINATOR_PREV_PAGE_ICON_CLASS, PAGINATOR_PREV_PAGE_LINK_CLASS, PAGINATOR_RPP_OPTIONS_CLASS, PAGINATOR_TOP_CONTAINER_CLASS
 
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 javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
TabView()
           
 
Method Summary
 Tab findTab(String tabClientId)
           
 int getActiveIndex()
           
 String getDir()
           
 String getEffect()
           
 String getEffectDuration()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 List<Tab> getLoadedTabs()
           
 String getOnTabChange()
           
 String getOnTabClose()
           
 String getOnTabShow()
           
 String getOrientation()
           
 String getStyle()
           
 String getStyleClass()
           
 String getWidgetVar()
           
 boolean invokeOnComponent(javax.faces.context.FacesContext context, String clientId, javax.faces.component.ContextCallback callback)
           
 boolean isCache()
           
 boolean isContentLoadRequest(javax.faces.context.FacesContext context)
           
 boolean isDynamic()
           
 boolean isRTL()
           
 boolean isScrollable()
           
 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 resetActiveIndex()
           
 String resolveWidgetVar()
           
 void setActiveIndex(int _activeIndex)
           
 void setCache(boolean _cache)
           
 void setDir(String _dir)
           
 void setDynamic(boolean _dynamic)
           
 void setEffect(String _effect)
           
 void setEffectDuration(String _effectDuration)
           
 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 setWidgetVar(String _widgetVar)
           
 boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)
           
 
Methods inherited from class org.primefaces.component.api.UIData
calculateFirst, getClientId, getContainerClientId, getCurrentPageReportTemplate, getDataModel, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowIndex, getRowIndexVar, getRowsPerPageTemplate, getRowsToRender, isLazy, isPaginationRequest, isPaginator, isPaginatorAlwaysVisible, process, processChildren, processColumnFacets, processFacets, processPhase, requiresColumns, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setCurrentPageReportTemplate, setDataModel, setId, setLazy, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRowIndex, setRowIndexVar, setRowModel, setRowsPerPageTemplate, shouldProcessChildren, shouldVisitChildren, shouldVisitRows, updatePaginationData, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows
 
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, encodeBegin, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getValue, getVar, isRowAvailable, isRowStatePreserved, markInitialState, restoreState, saveState, setFirst, setFooter, setHeader, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, 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, getDefaultEventName
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
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
Constructor Detail

TabView

public TabView()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIData

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)

isDynamic

public boolean isDynamic()

setDynamic

public void setDynamic(boolean _dynamic)

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)

getDir

public String getDir()

setDir

public void setDir(String _dir)

isScrollable

public boolean isScrollable()

setScrollable

public void setScrollable(boolean _scrollable)

isContentLoadRequest

public boolean isContentLoadRequest(javax.faces.context.FacesContext context)

findTab

public Tab findTab(String tabClientId)

getLoadedTabs

public List<Tab> getLoadedTabs()

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIData

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Overrides:
processDecodes in class UIData

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Overrides:
processValidators in class UIData

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class UIData

resetActiveIndex

protected void resetActiveIndex()

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

visitTree

public boolean visitTree(javax.faces.component.visit.VisitContext context,
                         javax.faces.component.visit.VisitCallback callback)
Overrides:
visitTree in class UIData

isRTL

public boolean isRTL()
Specified by:
isRTL in interface RTLAware

invokeOnComponent

public boolean invokeOnComponent(javax.faces.context.FacesContext context,
                                 String clientId,
                                 javax.faces.component.ContextCallback callback)
                          throws javax.faces.FacesException
Overrides:
invokeOnComponent in class javax.faces.component.UIData
Throws:
javax.faces.FacesException

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.