|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
org.apache.myfaces.trinidad.render.CoreRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.desktop.TrainRenderer
public class TrainRenderer
Renderer for process train components
| Field Summary | |
|---|---|
static int |
DEFAULT_MAX_VISIBLE_STOP_COUNT
Gives the amount of visible stops that get rendered by default if no amount is specified by the -tr-visible-stop-count skin property. |
static boolean |
DEFAULT_RENDER_PARENT_TRAIN
Determines if the parent train of sub-trains should be rendered by default if not specified by the -tr-render-parent-train skin property. |
| Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer |
|---|
TRANSPARENT_GIF |
| Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
|---|
CHAR_UNDEFINED, NO_CHILD_INDEX |
| Constructor Summary | |
|---|---|
TrainRenderer()
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
|
protected void |
encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
boolean |
getRendersChildren()
|
protected void |
renderAllAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Render the main renderer-specific attributes: "title", "class", "style", and all the Javascript attributes. |
protected void |
renderStyleAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
This is how we can render both the user defined styleClass and our component style class |
| Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
|---|
afterEncode, beforeEncode, decode, decodeBehaviors, delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeComponentResources, encodeEnd, encodeEnd, getBehaviorParameters, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderedFacetsAndChildren, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isGenericPDA, isIE, isInaccessibleMode, isIPhone, isKonqueror, isNokiaS60, isOpera, isPDA, isScreenReaderMode, isWebKit, partialEncodeVisit, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, setupChildrenEncodingContext, setupEncodingContext, setupEncodingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownEncodingContext, toActionUri, toChar, toInt, toLong, toResourceUri, toString, toUri, visitChildrenForEncoding |
| Methods inherited from class javax.faces.render.Renderer |
|---|
convertClientId, getConvertedValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MAX_VISIBLE_STOP_COUNT
public static final boolean DEFAULT_RENDER_PARENT_TRAIN
| Constructor Detail |
|---|
public TrainRenderer()
| Method Detail |
|---|
protected void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
decode in class org.apache.myfaces.trinidad.render.CoreRendererpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Renderer
protected void encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
encodeAll in class org.apache.myfaces.trinidad.render.CoreRendererjava.io.IOException
protected void renderAllAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
XhtmlRenderer
renderAllAttributes in class XhtmlRendererjava.io.IOException
protected void renderStyleAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
renderStyleAttributes in class XhtmlRendererjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||