public abstract class DivPanelRenderer extends RendererBase
Constructor and Description |
---|
DivPanelRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOnCompleteParam(javax.faces.context.FacesContext context,
String panelId)
Calls onCompleteHandler for given panel
|
protected void |
addOnCompleteParam(javax.faces.context.FacesContext context,
String itemName,
String panelId)
Adds script which switches given panel to given item
|
protected static String |
attributeAsString(javax.faces.component.UIComponent comp,
Enum attr) |
protected static String |
attributeAsString(javax.faces.component.UIComponent comp,
String attr) |
protected static String |
attributeAsStyle(javax.faces.component.UIComponent comp,
Enum attr) |
protected static String |
attributeAsStyle(javax.faces.component.UIComponent comp,
String attr) |
static String |
capitalize(String string)
Capitalize the first character of the given string.
|
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 |
doEncodeEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom finish encoding of concrete renderer.
|
protected void |
doEncodeItemBegin(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
doEncodeItemEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected RenderKitUtils.Attributes |
getPassThroughAttributes() |
protected Object |
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 |
getStyle(javax.faces.component.UIComponent component) |
protected String |
getStyleClass(javax.faces.component.UIComponent component) |
protected static String |
styleElement(Object name,
Object value) |
protected void |
writeJavaScript(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
concatClasses, concatStyles, decode, doDecode, doEncodeChildren, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
protected static String attributeAsStyle(javax.faces.component.UIComponent comp, Enum attr)
protected static String attributeAsStyle(javax.faces.component.UIComponent comp, String attr)
protected static String attributeAsString(javax.faces.component.UIComponent comp, Enum attr)
protected static String attributeAsString(javax.faces.component.UIComponent comp, String attr)
public static String capitalize(String string)
string
- String to capitalize.IllegalArgumentException
- String is 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 RendererBase
IOException
protected void doEncodeItemBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected String getStyle(javax.faces.component.UIComponent component)
protected RenderKitUtils.Attributes getPassThroughAttributes()
protected String getStyleClass(javax.faces.component.UIComponent component)
protected void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
RendererBase
RendererBase.encodeEnd(FacesContext, UIComponent)
method.doEncodeEnd
in class RendererBase
IOException
protected void doEncodeItemEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected void writeJavaScript(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected Object 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 void addOnCompleteParam(javax.faces.context.FacesContext context, String panelId)
context
- FacesContextpanelId
- the panelCopyright © 2015 JBoss by Red Hat. All Rights Reserved.