Class TabViewTag
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.apache.empire.jsf2.components.TabViewTag
- All Implemented Interfaces:
EventListener,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.ValueHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,TagEncodingHelperFactory.TagEncodingHolder
public class TabViewTag
extends javax.faces.component.UIOutput
implements TagEncodingHelperFactory.TagEncodingHolder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTabPageActionListenerstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TagEncodingHelperprotected static Stringprotected static Stringprotected static Stringprotected static Stringprotected static StringFields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY, 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_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.faces.component.html.HtmlCommandLinkcreateTabCommandLink(javax.faces.context.FacesContext context, TabPageTag pageTag, String linkId) voiddecode(javax.faces.context.FacesContext context) voidencodeBegin(javax.faces.context.FacesContext context) voidencodeChildren(javax.faces.context.FacesContext context) voidencodeEnd(javax.faces.context.FacesContext context) protected voidencodeTabCommandLink(javax.faces.context.FacesContext context, TabPageTag pageTag, javax.faces.component.html.HtmlCommandLink link) protected voidencodeTabLink(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, int index, TabPageTag pageTag, boolean disabled, String showTabBlindJs) protected voidencodeTabPadding(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer) protected voidencodeTabs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, String showTabBlindJs) intbooleanprotected booleanisPageDisabled(TabPageTag page) protected booleanisPageVisible(TabPageTag page) voidprocessDecodes(javax.faces.context.FacesContext context) voidprocessUpdates(javax.faces.context.FacesContext context) voidprocessValidators(javax.faces.context.FacesContext context) voidsetActivePageId(String pageId) voidsetActivePageIndex(int activeIndex) voidsetActiveTab(javax.faces.event.ActionEvent event) protected voidsetRenderTabs(javax.faces.context.FacesContext context) Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValueMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Field Details
-
TAB_PAGE_ID
-
TAB_ACTIVE_PAGE
-
TAB_ACTIVE_INDEX
-
TABLINK_ID_PREFIX
-
TAB_RENDERED_ATTRIBUTE
-
helper
-
-
Constructor Details
-
TabViewTag
public TabViewTag()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIOutput
-
getEncodingHelper
- Specified by:
getEncodingHelperin interfaceTagEncodingHelperFactory.TagEncodingHolder
-
getViewMode
-
getActivePageIndex
public int getActivePageIndex() -
setActivePageIndex
public void setActivePageIndex(int activeIndex) -
getActivePageId
-
setActivePageId
-
getActiveTabPage
-
setActiveTab
public void setActiveTab(javax.faces.event.ActionEvent event) -
encodeBegin
- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classjavax.faces.component.UIComponentBase
-
encodeChildren
- Overrides:
encodeChildrenin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
encodeEnd
- Overrides:
encodeEndin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
decode
public void decode(javax.faces.context.FacesContext context) - Overrides:
decodein classjavax.faces.component.UIComponentBase
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext context) - Overrides:
processDecodesin classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext context) - Overrides:
processValidatorsin classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context) - Overrides:
processUpdatesin classjavax.faces.component.UIComponentBase
-
encodeTabs
protected void encodeTabs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, String showTabBlindJs) throws IOException - Throws:
IOException
-
encodeTabLink
protected void encodeTabLink(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, int index, TabPageTag pageTag, boolean disabled, String showTabBlindJs) throws IOException - Throws:
IOException
-
createTabCommandLink
protected javax.faces.component.html.HtmlCommandLink createTabCommandLink(javax.faces.context.FacesContext context, TabPageTag pageTag, String linkId) -
encodeTabCommandLink
protected void encodeTabCommandLink(javax.faces.context.FacesContext context, TabPageTag pageTag, javax.faces.component.html.HtmlCommandLink link) throws IOException - Throws:
IOException
-
encodeTabPadding
protected void encodeTabPadding(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer) throws IOException - Throws:
IOException
-
setRenderTabs
protected void setRenderTabs(javax.faces.context.FacesContext context) -
isPageVisible
-
isPageDisabled
-