|
||||||||||
| 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
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.ButtonRenderer
@Deprecated public class ButtonRenderer
Renderer for button nodes.
| 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 | |
|---|---|
ButtonRenderer()
Deprecated. |
|
| Method Summary | |
|---|---|
protected boolean |
doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
Deprecated. Returns true if the style attributes should be rendered for this node. |
protected java.lang.String |
getButtonType()
Deprecated. Override to change the type of the button |
protected java.lang.Object |
getClientOnClick(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 |
getOnClick(UIXRenderingContext context,
UINode node)
Deprecated. Override to provide Javascript for moving to the destination |
protected java.lang.Object |
getText(UIXRenderingContext context,
UINode node)
Deprecated. Returns the destination to use for the ImageRenderer. |
protected boolean |
isEmpty(UIXRenderingContext context,
UINode node)
Deprecated. Return true if this link is empty ... |
protected boolean |
makeNameAndIDSame(UIXRenderingContext context)
Deprecated. The ID and the naem aren't the same for buttons and button 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. |
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 boolean |
useButtonTags(UIXRenderingContext context)
Deprecated. Returns true if button tags are being used. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer |
|---|
getAncestorPartialTargets, getDestination, getDestinationAttr, getID, getPartialChangeScript, getStyleClass, getTargetFrame, isDisabled, isSaveModelDisabled, render, renderEventHandlers, renderID, setDisabled, setSaveModelDisabled |
| 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 ButtonRenderer()
| Method Detail |
|---|
protected boolean useButtonTags(UIXRenderingContext context)
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 LinkRendererXhtmlLafRenderer.renderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, java.lang.String)
protected void renderDestination(UIXRenderingContext context,
UINode node,
java.lang.String destination)
throws java.io.IOException
LinkRenderer
renderDestination in class LinkRendererjava.io.IOException
protected void renderAttributes(UIXRenderingContext context,
UINode node)
throws java.io.IOException
ElementRenderer
renderAttributes in class LinkRenderercontext - the rendering contextnode - the current UINode
java.io.IOExceptionprotected java.lang.String getButtonType()
protected boolean makeNameAndIDSame(UIXRenderingContext context)
makeNameAndIDSame in class LinkRenderer
protected java.lang.String getElementName(UIXRenderingContext context,
UINode node)
ElementRenderer
getElementName in class LinkRenderercontext - the rendering contextnode - the current node
protected boolean isEmpty(UIXRenderingContext context,
UINode node)
isEmpty in class LinkRenderer
protected void prerender(UIXRenderingContext context,
UINode node)
throws java.io.IOException
LinkRenderer
prerender in class LinkRenderercontext - 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
LinkRenderer
postrender in class LinkRenderercontext - 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 LinkRendererjava.io.IOException
protected java.lang.Object getText(UIXRenderingContext context,
UINode node)
LinkRenderer
getText in class LinkRenderer
protected java.lang.Object getOnClick(UIXRenderingContext context,
UINode node)
getOnClick in class LinkRenderer
protected final java.lang.Object getClientOnClick(UIXRenderingContext context,
UINode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||