|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.BaseRenderer
org.apache.myfaces.trinidadinternal.ui.ElementRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.BreadCrumbsRenderer
public class BreadCrumbsRenderer
Renders the breadcrumbs UI element.
Field Summary |
---|
Fields inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer |
---|
TRANSPARENT_GIF |
Fields inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
---|
NO_CHILD_INDEX |
Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafConstants |
---|
NBSP_CHAR, NBSP_STRING, NOT_FOUND, ONE, TWO, URI_DELIMITER, ZERO |
Constructor Summary | |
---|---|
BreadCrumbsRenderer()
|
Method Summary | |
---|---|
protected Renderer |
getBetweenRenderer(UIXRenderingContext context)
|
protected java.lang.String |
getElementName(UIXRenderingContext context,
UINode node)
Called to retrieve the element name to render. |
protected java.lang.Object |
getFocusPath(org.apache.myfaces.trinidad.component.UIXHierarchy component)
|
protected org.apache.myfaces.trinidad.component.UIXHierarchy |
getHierarchyBase(UIXRenderingContext context,
UINode node)
|
protected UINode |
getStamp(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getStyleClass(UIXRenderingContext context,
UINode node)
Returns the StyleClass to use to render this node. |
protected void |
postrender(UIXRenderingContext context,
UINode node)
Override to add support for rendering syle elements |
protected void |
prerender(UIXRenderingContext context,
UINode node)
Override to add support for rendering syle elements |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
|
protected void |
renderIndexedChild(UIXRenderingContext context,
UINode node,
int currVisChildIndex,
int prevVisChildIndex,
int nextVisChildIndex,
int ithRenderedChild)
Called each time an indexed child needs to be rendered. |
protected boolean |
renderLastChild(UIXRenderingContext context,
UINode node)
|
protected void |
renderNode(UIXRenderingContext context,
UINode child,
int nextVisChildIndex)
|
protected void |
setLastChildProperty(UIXRenderingContext context,
java.lang.Boolean isLastChild)
|
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.ElementRenderer |
---|
getRenderer, renderAttribute, renderAttribute, renderAttribute, renderAttribute |
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
---|
getNextRenderedChildIndex, getNextRenderedChildNode, getVisibleIndexedChildCount, renderBetweenIndexedChildren, renderBetweenIndexedChildren, renderChild, renderIndexedChild, renderNamedChild, renderNamedChild, skipChild, skipNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreadCrumbsRenderer()
Method Detail |
---|
protected java.lang.String getElementName(UIXRenderingContext context, UINode node)
ElementRenderer
getElementName
in class ElementRenderer
context
- the rendering contextnode
- the current nodeprotected void prerender(UIXRenderingContext context, UINode node) throws java.io.IOException
XhtmlLafRenderer
prerender
in class XhtmlLafRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
ElementRenderer.renderAttributes(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
ElementRenderer.getElementName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected org.apache.myfaces.trinidad.component.UIXHierarchy getHierarchyBase(UIXRenderingContext context, UINode node)
protected UINode getStamp(UIXRenderingContext context, UINode node)
protected java.lang.Object getFocusPath(org.apache.myfaces.trinidad.component.UIXHierarchy component)
protected void renderContent(UIXRenderingContext context, UINode node) throws java.io.IOException
renderContent
in class BaseRenderer
java.io.IOException
protected void postrender(UIXRenderingContext context, UINode node) throws java.io.IOException
XhtmlLafRenderer
postrender
in class XhtmlLafRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
ElementRenderer.getElementName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderNode(UIXRenderingContext context, UINode child, int nextVisChildIndex) throws java.io.IOException
java.io.IOException
protected void renderIndexedChild(UIXRenderingContext context, UINode node, int currVisChildIndex, int prevVisChildIndex, int nextVisChildIndex, int ithRenderedChild) throws java.io.IOException
BaseRenderer
The default implementation is call the three-argument version of renderIndexedChild().
renderIndexedChild
in class BaseRenderer
java.io.IOException
BaseRenderer.renderChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected boolean renderLastChild(UIXRenderingContext context, UINode node)
protected java.lang.Object getStyleClass(UIXRenderingContext context, UINode node)
XhtmlLafRenderer
getStyleClass
in class XhtmlLafRenderer
protected void setLastChildProperty(UIXRenderingContext context, java.lang.Boolean isLastChild)
protected Renderer getBetweenRenderer(UIXRenderingContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |