public class TabPanelRendererBase
extends org.ajax4jsf.renderkit.HeaderResourcesRendererBase
Modifier and Type | Class and Description |
---|---|
protected static class |
TabPanelRendererBase.TabsIteratorHelper |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVE_CELL_CLASSES |
static java.lang.String |
DISABLED_CELL_CLASSES |
static java.lang.String |
INACTIVE_CELL_CLASSES |
Constructor and Description |
---|
TabPanelRendererBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
java.lang.String |
encodeHeaderSpacing(javax.faces.context.FacesContext context,
UITabPanel pane) |
static java.lang.String |
encodeStyles(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeTabPanelScript(javax.faces.context.FacesContext context,
UITabPanel pane) |
void |
encodeTabs(javax.faces.context.FacesContext context,
UITabPanel tabPanel) |
void |
encodeTabsScript(javax.faces.context.FacesContext context,
UITabPanel pane)
Encode JavaScript function for switch tabs.
|
static java.lang.String |
getActiveTabCellClass(UITab tab) |
static java.lang.String |
getActiveTabClass(UITab tab) |
protected java.lang.Class |
getComponentClass() |
static java.lang.String |
getDisabledTabCellClass(UITab tab) |
static java.lang.String |
getDisabledTabClass(UITab tab) |
static java.lang.String |
getInactiveTabCellClass(UITab tab) |
static java.lang.String |
getInactiveTabClass(UITab tab) |
protected TabInfoCollector |
getTabInfoCollector() |
protected TabPanelInfoCollector |
getTabPanelInfoCollector() |
protected java.lang.String |
getValueAsString(javax.faces.context.FacesContext context,
UITabPanel tabPanel) |
protected static boolean |
parameterPresent(java.lang.String style,
java.lang.String name) |
protected void |
preEncodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
encodeResourcesArray, encodeToHead, getHeaderScripts, getHeaderStyles, getScripts, getStyles
addResource, decode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getResource, getSkin, getUtils, preDecode, renderChild, renderChildren
public static final java.lang.String ACTIVE_CELL_CLASSES
public static final java.lang.String INACTIVE_CELL_CLASSES
public static final java.lang.String DISABLED_CELL_CLASSES
protected java.lang.Class getComponentClass()
getComponentClass
in class org.ajax4jsf.renderkit.RendererBase
protected void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
doDecode
in class org.ajax4jsf.renderkit.RendererBase
public static java.lang.String encodeStyles(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
context
- component
- java.io.IOException
protected static boolean parameterPresent(java.lang.String style, java.lang.String name)
style
- name
- protected java.lang.String getValueAsString(javax.faces.context.FacesContext context, UITabPanel tabPanel)
protected void preEncodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
preEncodeBegin
in class org.ajax4jsf.renderkit.RendererBase
java.io.IOException
public void encodeTabs(javax.faces.context.FacesContext context, UITabPanel tabPanel) throws java.io.IOException
java.io.IOException
public static java.lang.String getActiveTabCellClass(UITab tab)
public static java.lang.String getDisabledTabCellClass(UITab tab)
public static java.lang.String getInactiveTabCellClass(UITab tab)
public static java.lang.String getActiveTabClass(UITab tab)
public static java.lang.String getDisabledTabClass(UITab tab)
public static java.lang.String getInactiveTabClass(UITab tab)
public void encodeTabsScript(javax.faces.context.FacesContext context, UITabPanel pane) throws java.io.IOException
context
- java.io.IOException
public void encodeTabPanelScript(javax.faces.context.FacesContext context, UITabPanel pane) throws java.io.IOException
java.io.IOException
protected TabInfoCollector getTabInfoCollector()
protected TabPanelInfoCollector getTabPanelInfoCollector()
public java.lang.String encodeHeaderSpacing(javax.faces.context.FacesContext context, UITabPanel pane) throws java.io.IOException
java.io.IOException
Copyright © 2014. All Rights Reserved.