org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class CommandLinkRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.trinidad.render.CoreRenderer
          extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
              extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.GoLinkRenderer
                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandLinkRenderer
All Implemented Interfaces:
java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
Direct Known Subclasses:
CommandButtonRenderer

public class CommandLinkRenderer
extends GoLinkRenderer


Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
TRANSPARENT_GIF
 
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
CHAR_UNDEFINED, NO_CHILD_INDEX
 
Constructor Summary
  CommandLinkRenderer()
           
protected CommandLinkRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeBegin(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent comp, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
 void encodeEnd(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent comp, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
protected  java.lang.String getClientId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.lang.String getComponentOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
          Returns the component's onclick
protected  java.lang.String getDestination(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  boolean getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  boolean getPartialSubmit(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getTargetFrame(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  boolean hasOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
          Returns true if the bean has onclick; provided so subclasses that always have onclick can override.
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.GoLinkRenderer
getAccessKey, getDefaultStyleClass, getDisabled, getOnblur, getOnfocus, getText, renderEventHandlers, renderId
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
cloneWithType, enableScriptDeferring, getAbsoluteImageUri, getBaseImageUri, getInlineStyle, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getShortDesc, getStyleClass, renderAllAttributes, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderStyleAttributes, renderTransparent, renderVerticalSpacer, shouldRenderId, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNavigation, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation, supportsXMLDOM
 
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAll, encodeAllChildren, encodeBegin, encodeChild, encodeChildren, encodeEnd, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isIE, isInaccessibleMode, isPDA, isScreenReaderMode, renderEncodedActionURI, renderEncodedResourceURI, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLinkRenderer

public CommandLinkRenderer()

CommandLinkRenderer

protected CommandLinkRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
Method Detail

findTypeConstants

protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
Overrides:
findTypeConstants in class GoLinkRenderer

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

encodeBegin

protected void encodeBegin(javax.faces.context.FacesContext context,
                           org.apache.myfaces.trinidad.context.RenderingContext arc,
                           javax.faces.component.UIComponent comp,
                           org.apache.myfaces.trinidad.bean.FacesBean bean)
                    throws java.io.IOException
Overrides:
encodeBegin in class GoLinkRenderer
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      org.apache.myfaces.trinidad.context.RenderingContext arc,
                      javax.faces.component.UIComponent comp,
                      org.apache.myfaces.trinidad.bean.FacesBean bean)
               throws java.io.IOException
Overrides:
encodeEnd in class GoLinkRenderer
Throws:
java.io.IOException

getClientId

protected java.lang.String getClientId(javax.faces.context.FacesContext context,
                                       javax.faces.component.UIComponent component)
Overrides:
getClientId in class org.apache.myfaces.trinidad.render.CoreRenderer

getDestination

protected java.lang.String getDestination(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getDestination in class GoLinkRenderer

getTargetFrame

protected java.lang.String getTargetFrame(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getTargetFrame in class GoLinkRenderer

hasOnclick

protected boolean hasOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
Description copied from class: GoLinkRenderer
Returns true if the bean has onclick; provided so subclasses that always have onclick can override.

Overrides:
hasOnclick in class GoLinkRenderer

getComponentOnclick

protected final java.lang.String getComponentOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
Returns the component's onclick


getOnclick

protected java.lang.String getOnclick(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnclick in class XhtmlRenderer

getImmediate

protected boolean getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)

getPartialSubmit

protected boolean getPartialSubmit(org.apache.myfaces.trinidad.bean.FacesBean bean)


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.