|
||||||||||
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.pda.GlobalHeaderRenderer
public class GlobalHeaderRenderer
Renderer for global headers
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 | |
---|---|
GlobalHeaderRenderer()
|
Method Summary | |
---|---|
protected java.lang.String |
getElementName(UIXRenderingContext context,
UINode node)
Called to retrieve the element name to render. |
protected org.apache.myfaces.trinidad.component.UIXHierarchy |
getHierarchyBase(UIXRenderingContext context,
UINode node)
|
protected UINode |
getStamp(UIXRenderingContext context,
UINode 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 |
void |
render(UIXRenderingContext context,
UINode node)
Override to handle case where this element isn't in a supported module of the current user agent |
protected void |
renderAttributes(UIXRenderingContext context,
UINode node)
Renders attributes of the current node. |
protected void |
renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node)
Called to render between each set of rendered indexed children. |
protected void |
renderChild(UIXRenderingContext context,
UINode child)
Called to render a child. |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
|
protected void |
renderIndexedChild(UIXRenderingContext context,
UINode node,
int index)
Called to render an indexed child. |
protected void |
renderStamp(UIXRenderingContext context,
UINode stamp,
boolean selected)
|
protected boolean |
setNewPath(UIXRenderingContext context,
UINode node,
org.apache.myfaces.trinidad.component.UIXHierarchy component)
|
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, 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 GlobalHeaderRenderer()
Method Detail |
---|
public void render(UIXRenderingContext context, UINode node) throws java.io.IOException
XhtmlLafRenderer
render
in interface Renderer
render
in class XhtmlLafRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
protected void renderContent(UIXRenderingContext context, UINode node) throws java.io.IOException
renderContent
in class BaseRenderer
java.io.IOException
protected void renderStamp(UIXRenderingContext context, UINode stamp, boolean selected) throws java.io.IOException
java.io.IOException
protected java.lang.String getElementName(UIXRenderingContext context, UINode node)
ElementRenderer
getElementName
in class ElementRenderer
context
- the rendering contextnode
- the current nodeprotected void renderAttributes(UIXRenderingContext context, UINode node) throws java.io.IOException
ElementRenderer
renderAttributes
in class XhtmlLafRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
protected 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 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 renderChild(UIXRenderingContext context, UINode child) throws java.io.IOException
BaseRenderer
renderChild
in class BaseRenderer
context
- the rendering contextchild
- the child under consideration
java.io.IOException
protected void renderIndexedChild(UIXRenderingContext context, UINode node, int index) throws java.io.IOException
BaseRenderer
renderChild()
.
renderIndexedChild
in class BaseRenderer
java.io.IOException
BaseRenderer.renderChild(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 boolean setNewPath(UIXRenderingContext context, UINode node, org.apache.myfaces.trinidad.component.UIXHierarchy component)
protected void renderBetweenIndexedChildren(UIXRenderingContext context, UINode node) throws java.io.IOException
BaseRenderer
renderBetweenIndexedChildren
in class BaseRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |