com.sun.rave.web.ui.renderer
Class FrameRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.sun.rave.web.ui.renderer.AbstractRenderer
          extended by com.sun.rave.web.ui.renderer.FrameRenderer
Direct Known Subclasses:
IFrameRenderer

public class FrameRenderer
extends AbstractRenderer

Renderer for a Frame component.


Field Summary
 
Fields inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer
BUNDLE, EVENTS_ATTRIBUTES, I18N_ATTRIBUTES
 
Constructor Summary
FrameRenderer()
           
 
Method Summary
protected  void renderAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the appropriate element attributes, followed by the nested <head> element, plus the beginning of a nested <body> element.
protected  void renderEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the appropriate element end.
protected  void renderResizeAttribute(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent comp)
           
protected  void renderStart(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer)
          Render the appropriate element start for the outermost element.
 
Methods inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer
addBooleanAttributes, addCoreAttributes, addIntegerAttributes, addStringAttributes, decode, encodeBegin, encodeChildren, encodeEnd, getApplication, getAsObject, getAsString, getExternalContext, getFacesContext, getSubmittedValue, isDisabled, isPortlet, isReadOnly, renderMarkup, setSubmittedValue
 
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

FrameRenderer

public FrameRenderer()
Method Detail

renderStart

protected void renderStart(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component,
                           javax.faces.context.ResponseWriter writer)
                    throws java.io.IOException

Render the appropriate element start for the outermost element.

Overrides:
renderStart in class AbstractRenderer
Parameters:
context - FacesContext for the current request
component - component to be rendered
writer - ResponseWriter to which the element start should be rendered
Throws:
java.io.IOException - if an input/output error occurs

renderAttributes

protected void renderAttributes(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component,
                                javax.faces.context.ResponseWriter writer)
                         throws java.io.IOException

Render the appropriate element attributes, followed by the nested <head> element, plus the beginning of a nested <body> element.

Overrides:
renderAttributes in class AbstractRenderer
Parameters:
context - FacesContext for the current request
component - component to be rendered
writer - ResponseWriter to which the element start should be rendered
Throws:
java.io.IOException - if an input/output error occurs

renderEnd

protected void renderEnd(javax.faces.context.FacesContext context,
                         javax.faces.component.UIComponent component,
                         javax.faces.context.ResponseWriter writer)
                  throws java.io.IOException

Render the appropriate element end.

Overrides:
renderEnd in class AbstractRenderer
Parameters:
context - FacesContext for the current request
component - component to be rendered
writer - ResponseWriter to which the element start should be rendered
Throws:
java.io.IOException - if an input/output error occurs

renderResizeAttribute

protected void renderResizeAttribute(javax.faces.context.ResponseWriter writer,
                                     javax.faces.component.UIComponent comp)
                              throws java.io.IOException
Throws:
java.io.IOException