|
||||||||||
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.TabBarRenderer
public class TabBarRenderer
Renderer for tab bars
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 | |
---|---|
TabBarRenderer()
|
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 |
protected void |
renderAttributes(UIXRenderingContext context,
UINode node)
Renders attributes of the current node. |
protected void |
renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node,
int index)
Called to render between each set of rendered indexed children. |
protected void |
renderChild(UIXRenderingContext context,
UINode node)
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 TabBarRenderer()
Method Detail |
---|
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 renderContent(UIXRenderingContext context, UINode node) throws java.io.IOException
renderContent
in class BaseRenderer
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 renderBetweenIndexedChildren(UIXRenderingContext context, UINode node, int index) throws java.io.IOException
BaseRenderer
renderBetweenIndexedChildren
in class BaseRenderer
context
- the rendering contextnode
- the current UINode
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 void renderChild(UIXRenderingContext context, UINode node) throws java.io.IOException
BaseRenderer
renderChild
in class BaseRenderer
context
- the rendering contextnode
- the child under consideration
java.io.IOException
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 renderStamp(UIXRenderingContext context, UINode stamp, boolean selected) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |