|
RichFaces UI Components UI 4.3.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.richfaces.renderkit.RendererBase
org.richfaces.renderkit.html.DivPanelRenderer
public abstract class DivPanelRenderer
Constructor Summary | |
---|---|
DivPanelRenderer()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.richfaces.renderkit.RendererBase |
---|
concatClasses, concatStyles, decode, doDecode, doEncodeChildren, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DivPanelRenderer()
Method Detail |
---|
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 styleElement(Object name, Object value)
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
encodeBegin
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
encodeEnd
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 panelprotected void addOnCompleteParam(javax.faces.context.FacesContext context, String itemName, String panelId)
context
- FacesContextitemName
- the item to switch topanelId
- the panel
|
RichFaces UI Components UI 4.3.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |