|
||||||||||
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.desktop.HtmlLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.simple.desktop.SimpleDesktopRenderer
org.apache.myfaces.trinidadinternal.ui.laf.simple.desktop.GlobalHeaderRenderer
public class GlobalHeaderRenderer
GlobalHeader Renderer for the desktop implementation of the Simple Look And Feel. This is an extension of the base.desktop.GlobalHeaderRenderer which adds the following customizable icons:
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 java.lang.Object |
getStyleClass(UIXRenderingContext context,
UINode node)
Override of getStyleClass() which forces style class to OraGlobalHeader. |
protected boolean |
isEmpty(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)
Override of renderBetweenIndexedChildren() which renders the separator Icon. |
protected void |
renderBetweenNodes(UIXRenderingContext context)
Override of renderBetweenIndexedChildren() which renders the separator Icon. |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
|
protected void |
renderIndexedChild(UIXRenderingContext context,
UINode node,
int index)
Called to render an indexed child. |
protected void |
renderItemStyleAttrs(UIXRenderingContext context,
UINode node,
int index,
boolean selected)
Renders the style attributes for global header items |
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.laf.base.desktop.HtmlLafRenderer |
---|
isGecko, isIE, isNetscape, isSafari, renderRepeatingImage, renderRepeatingImage, renderRepeatingImage, renderTableDataIcon, renderTransparent, writeCacheImageURI |
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, 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 GlobalHeaderRenderer()
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 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 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 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 renderStamp(UIXRenderingContext context, UINode stamp, boolean selected) throws java.io.IOException
java.io.IOException
protected void renderBetweenIndexedChildren(UIXRenderingContext context, UINode node) throws java.io.IOException
renderBetweenIndexedChildren
in class BaseRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
protected void renderBetweenNodes(UIXRenderingContext context) throws java.io.IOException
java.io.IOException
protected java.lang.Object getStyleClass(UIXRenderingContext context, UINode node)
getStyleClass
in class XhtmlLafRenderer
protected void renderItemStyleAttrs(UIXRenderingContext context, UINode node, int index, boolean selected) throws java.io.IOException
java.io.IOException
protected boolean isEmpty(UIXRenderingContext context, UINode node)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |