|
||||||||||
| 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.LinkRenderer
@Deprecated public class LinkRenderer
| 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 | |
|---|---|
LinkRenderer()
Deprecated. |
|
| Method Summary | |
|---|---|
protected boolean |
doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
Deprecated. Returns true if the style attributes should be rendered for this node. |
protected static java.lang.String |
getAncestorPartialTargets(UIXRenderingContext context)
Deprecated. |
protected java.lang.String |
getDestination(UIXRenderingContext context,
UINode node)
Deprecated. Returns the destination to use for the ImageRenderer. |
protected java.lang.String |
getDestinationAttr(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.String |
getElementName(UIXRenderingContext context,
UINode node)
Deprecated. Called to retrieve the element name to render. |
protected java.lang.Object |
getID(UIXRenderingContext context,
UINode node)
Deprecated. Override to return the id and then anme, in that order |
protected java.lang.Object |
getOnClick(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.String |
getPartialChangeScript(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.Object |
getStyleClass(UIXRenderingContext context,
UINode node)
Deprecated. Returns the StyleClass to use to render this node. |
protected java.lang.Object |
getTargetFrame(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.Object |
getText(UIXRenderingContext context,
UINode node)
Deprecated. Returns the destination to use for the ImageRenderer. |
protected boolean |
isDisabled(UIXRenderingContext context,
UINode node)
Deprecated. |
protected boolean |
isEmpty(UIXRenderingContext context,
UINode node)
Deprecated. Return true if this link is empty ... |
protected boolean |
isSaveModelDisabled(UIXRenderingContext context)
Deprecated. |
protected boolean |
makeNameAndIDSame(UIXRenderingContext context)
Deprecated. The ID and the naem are the same for links but not some of the link subclasses |
protected void |
postrender(UIXRenderingContext context,
UINode node)
Deprecated. Called to render the portion after the contents. |
protected void |
prerender(UIXRenderingContext context,
UINode node)
Deprecated. Called to render the portion before the contents. |
void |
render(UIXRenderingContext context,
UINode node)
Deprecated. 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)
Deprecated. Renders attributes of the current node. |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
Deprecated. |
protected void |
renderDestination(UIXRenderingContext context,
UINode node,
java.lang.String destination)
Deprecated. Renders the destination of the link |
protected void |
renderEventHandlers(UIXRenderingContext context,
UINode node)
Deprecated. Renders event handlers for the node. |
protected void |
renderID(UIXRenderingContext context,
UINode node)
Deprecated. Renders the id of the UINode |
static void |
setDisabled(UIXRenderingContext context,
boolean isDisabled)
Deprecated. links can be disabled in two ways. |
static void |
setSaveModelDisabled(UIXRenderingContext context,
boolean isDisabled)
Deprecated. |
| 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, 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 LinkRenderer()
| Method Detail |
|---|
public void render(UIXRenderingContext context,
UINode node)
throws java.io.IOException
XhtmlLafRenderer
render in interface Rendererrender in class XhtmlLafRenderercontext - the rendering contextnode - the current UINode
java.io.IOException
protected void renderAttributes(UIXRenderingContext context,
UINode node)
throws java.io.IOException
ElementRenderer
renderAttributes in class XhtmlLafRenderercontext - the rendering contextnode - the current UINode
java.io.IOException
protected boolean isDisabled(UIXRenderingContext context,
UINode node)
isDisabled in class BaseLafRenderersetDisabled(UIXRenderingContext,boolean)
public static void setDisabled(UIXRenderingContext context,
boolean isDisabled)
isDisabled - if true, disables all subsequent links, regardless
of their disabled attributes.isDisabled(UIXRenderingContext,UINode)
public static void setSaveModelDisabled(UIXRenderingContext context,
boolean isDisabled)
protected boolean isSaveModelDisabled(UIXRenderingContext context)
protected void renderDestination(UIXRenderingContext context,
UINode node,
java.lang.String destination)
throws java.io.IOException
java.io.IOException
protected void renderEventHandlers(UIXRenderingContext context,
UINode node)
throws java.io.IOException
renderEventHandlers in class XhtmlLafRendererjava.io.IOException
protected void renderID(UIXRenderingContext context,
UINode node)
throws java.io.IOException
BaseLafRenderer
renderID in class BaseLafRendererjava.io.IOExceptionprotected boolean makeNameAndIDSame(UIXRenderingContext context)
protected java.lang.Object getID(UIXRenderingContext context,
UINode node)
getID in class BaseLafRenderer
protected java.lang.String getDestination(UIXRenderingContext context,
UINode node)
protected final java.lang.String getDestinationAttr(UIXRenderingContext context,
UINode node)
protected java.lang.Object getText(UIXRenderingContext context,
UINode node)
getText in class XhtmlLafRenderer
protected java.lang.Object getTargetFrame(UIXRenderingContext context,
UINode node)
protected java.lang.Object getStyleClass(UIXRenderingContext context,
UINode node)
getStyleClass in class XhtmlLafRenderer
protected void prerender(UIXRenderingContext context,
UINode node)
throws java.io.IOException
prerender in class XhtmlLafRenderercontext - the rendering contextnode - the current UINode
java.io.IOExceptionElementRenderer.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
postrender in class XhtmlLafRenderercontext - the rendering contextnode - the current UINode
java.io.IOExceptionElementRenderer.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 BaseRendererjava.io.IOException
protected boolean doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
XhtmlLafRendererClients should override this method if they need to move the rendering of the style attributes to a different element, or if the the user agent doesn't support style attributes.
doRenderStyleAttrs in class XhtmlLafRendererXhtmlLafRenderer.renderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, java.lang.String)
protected java.lang.String getElementName(UIXRenderingContext context,
UINode node)
ElementRenderer
getElementName in class ElementRenderercontext - the rendering contextnode - the current node
protected java.lang.Object getOnClick(UIXRenderingContext context,
UINode node)
getOnClick in class XhtmlLafRenderer
protected java.lang.String getPartialChangeScript(UIXRenderingContext context,
UINode node)
protected static java.lang.String getAncestorPartialTargets(UIXRenderingContext context)
protected boolean isEmpty(UIXRenderingContext context,
UINode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||