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, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildrenprotected 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
RendererBaseencodeBegin method.doEncodeBegin in class RendererBaseIOExceptionprotected void doEncodeItemBegin(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionprotected 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
RendererBaseencodeEnd method.doEncodeEnd in class RendererBaseIOExceptionprotected void doEncodeItemEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionprotected void writeJavaScript(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionprotected 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 © 2012 JBoss by Red Hat. All Rights Reserved.