public class HtmlTabbedPaneRenderer extends HtmlRenderer
| Constructor and Description |
|---|
HtmlTabbedPaneRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeChildren(javax.faces.context.FacesContext facescontext,
javax.faces.component.UIComponent uicomponent) |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected java.lang.String |
getActiveHeaderClasses(HtmlPanelTabbedPane tabbedPane) |
protected java.lang.String |
getDefaultActiveHeaderStyleClass(HtmlPanelTabbedPane tabbedPane,
javax.faces.context.FacesContext facesContext) |
protected java.lang.String |
getHeaderCellID(HtmlPanelTab tab,
javax.faces.context.FacesContext facesContext) |
protected java.lang.String |
getHeaderCellsIDsVar(HtmlPanelTabbedPane tabbedPane,
javax.faces.context.FacesContext facesContext) |
protected java.lang.String |
getInactiveHeaderClasses(HtmlPanelTabbedPane tabbedPane) |
boolean |
getRendersChildren() |
protected java.lang.String |
getTabIndexSubmitFieldIDAndName(HtmlPanelTabbedPane tabbedPane,
javax.faces.context.FacesContext facesContext) |
protected java.lang.String |
getTableStylableId(HtmlPanelTabbedPane tabbedPane,
javax.faces.context.FacesContext facesContext)
As the colon (:) can't be used in CSS, transforms the id to make it safe to use for CSS.
|
protected java.lang.String |
getTabsIDsVar(HtmlPanelTabbedPane tabbedPane,
javax.faces.context.FacesContext facesContext) |
protected boolean |
isDisabled(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
writeFormEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
protected void |
writeFormStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent tabbedPane) |
protected void |
writeHeaderCell(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
HtmlPanelTab tab,
int tabIndex,
int visibleTabIndex,
boolean active,
boolean disabled) |
protected void |
writeSubHeaderCells(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
int visibleTabCount,
int visibleTabSelectedIndex) |
protected void |
writeTableStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane) |
protected void |
writeTabsContents(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
int selectedIndex) |
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
encodeBegin in class javax.faces.render.Rendererjava.io.IOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Rendererpublic void encodeChildren(javax.faces.context.FacesContext facescontext,
javax.faces.component.UIComponent uicomponent)
throws java.io.IOException
encodeChildren in class HtmlRendererjava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
encodeEnd in class javax.faces.render.Rendererjava.io.IOExceptionpublic void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
decode in class javax.faces.render.Rendererprotected void writeFormStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent tabbedPane)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getHeaderCellsIDsVar(HtmlPanelTabbedPane tabbedPane, javax.faces.context.FacesContext facesContext)
protected java.lang.String getTabsIDsVar(HtmlPanelTabbedPane tabbedPane, javax.faces.context.FacesContext facesContext)
protected java.lang.String getDefaultActiveHeaderStyleClass(HtmlPanelTabbedPane tabbedPane, javax.faces.context.FacesContext facesContext)
protected java.lang.String getActiveHeaderClasses(HtmlPanelTabbedPane tabbedPane)
protected java.lang.String getInactiveHeaderClasses(HtmlPanelTabbedPane tabbedPane)
protected void writeTableStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getTableStylableId(HtmlPanelTabbedPane tabbedPane, javax.faces.context.FacesContext facesContext)
protected java.lang.String getTabIndexSubmitFieldIDAndName(HtmlPanelTabbedPane tabbedPane, javax.faces.context.FacesContext facesContext)
protected java.lang.String getHeaderCellID(HtmlPanelTab tab, javax.faces.context.FacesContext facesContext)
protected void writeHeaderCell(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
HtmlPanelTab tab,
int tabIndex,
int visibleTabIndex,
boolean active,
boolean disabled)
throws java.io.IOException
java.io.IOExceptionprotected void writeSubHeaderCells(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
int visibleTabCount,
int visibleTabSelectedIndex)
throws java.io.IOException
java.io.IOExceptionprotected void writeTabsContents(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
HtmlPanelTabbedPane tabbedPane,
int selectedIndex)
throws java.io.IOException
java.io.IOExceptionprotected void writeFormEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext)
throws java.io.IOException
java.io.IOExceptionprotected boolean isDisabled(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)