public class CollapsiblePanelRenderer extends TogglePanelRenderer
Modifier and Type | Field and Description |
---|---|
static String |
BEFORE_SWITCH |
static String |
SWITCH |
BEFORE_ITEM_CHANGE, ITEM_CHANGE, VALUE_POSTFIX
Constructor and Description |
---|
CollapsiblePanelRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doEncodeBegin(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom start encoding of concrete renderer.
|
protected void |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected Class<? extends javax.faces.component.UIComponent> |
getComponentClass()
Get base component slass , targetted for this renderer.
|
protected JSObject |
getScriptObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected Map<String,Object> |
getScriptObjectOptions(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected String |
getStyleClass(javax.faces.component.UIComponent component) |
addEventOption, decodeMetaComponent, doDecode, doEncodeEnd, encodeMetaComponent, getAjaxOptions, isSubmitted, partialEnd, partialStart
addOnCompleteParam, addOnCompleteParam, attributeAsString, attributeAsString, attributeAsStyle, attributeAsStyle, capitalize, doEncodeItemBegin, doEncodeItemEnd, getPassThroughAttributes, getStyle, styleElement, writeJavaScript
concatClasses, concatStyles, decode, encodeBegin, encodeChildren, encodeEnd, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
public static final String SWITCH
public static final String BEFORE_SWITCH
protected void doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
RendererBase
RendererBase.encodeBegin(FacesContext, UIComponent)
method.doEncodeBegin
in class TogglePanelRenderer
IOException
protected String getStyleClass(javax.faces.component.UIComponent component)
getStyleClass
in class TogglePanelRenderer
protected JSObject getScriptObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
getScriptObject
in class TogglePanelRenderer
protected Map<String,Object> getScriptObjectOptions(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
getScriptObjectOptions
in class TogglePanelRenderer
protected void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
doEncodeChildren
in class TogglePanelRenderer
IOException
protected Class<? extends javax.faces.component.UIComponent> getComponentClass()
RendererBase
getComponentClass
in class TogglePanelRenderer
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.