org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag
Class ButtonRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
          extended by org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
              extended by org.apache.myfaces.tobago.renderkit.CommandRendererBase
                  extended by org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.ButtonRenderer
All Implemented Interfaces:
LayoutableRenderer, LayoutInformationProvider

public class ButtonRenderer
extends CommandRendererBase


Constructor Summary
ButtonRenderer()
           
 
Method Summary
 void encodeBegin(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 int getFixedWidth(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.CommandRendererBase
decode, getImageWithPath
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
getComponentExtraHeight, getComponentExtraWidth, getFixedHeight, getFixedSpace, getHeaderHeight, getMinimumHeight, getMinimumSize, getMinimumWidth, getPaddingHeight, getPaddingWidth, layoutBegin, layoutEnd, prepareRender
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getValue, onComponentCreated, prepareRendersChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.renderkit.LayoutableRenderer
convertClientId, encodeChildren, getConvertedValue, getRendererName, getRendersChildren
 

Constructor Detail

ButtonRenderer

public ButtonRenderer()
Method Detail

encodeBegin

public void encodeBegin(FacesContext facesContext,
                        UIComponent component)
                 throws IOException
Specified by:
encodeBegin in interface LayoutableRenderer
Overrides:
encodeBegin in class Renderer
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Specified by:
encodeEnd in interface LayoutableRenderer
Overrides:
encodeEnd in class Renderer
Throws:
IOException

getFixedWidth

public int getFixedWidth(FacesContext facesContext,
                         UIComponent component)
Specified by:
getFixedWidth in interface LayoutInformationProvider
Overrides:
getFixedWidth in class LayoutableRendererBase


Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.