org.enhydra.barracuda.core.comp.renderer.html
Class HTMLToggleRenderer

java.lang.Object
  |
  +--org.enhydra.barracuda.core.comp.renderer.DOMComponentRenderer
        |
        +--org.enhydra.barracuda.core.comp.renderer.html.HTMLComponentRenderer
              |
              +--org.enhydra.barracuda.core.comp.renderer.html.HTMLInputRenderer
                    |
                    +--org.enhydra.barracuda.core.comp.renderer.html.HTMLToggleRenderer
All Implemented Interfaces:
Renderer

public class HTMLToggleRenderer
extends HTMLInputRenderer

This class handles the default rendering of a list in an HTML view.


Field Summary
protected  BToggleButton btbcomp
           
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.enhydra.barracuda.core.comp.renderer.html.HTMLInputRenderer
bicomp, eh
 
Constructor Summary
HTMLToggleRenderer()
           
 
Method Summary
 void renderComponent(BComponent comp, View view, ViewContext vc)
          This method should actually render the data from the component into the view, taking into consideration the specified ViewContext.
 
Methods inherited from class org.enhydra.barracuda.core.comp.renderer.html.HTMLInputRenderer
createDefaultNode
 
Methods inherited from class org.enhydra.barracuda.core.comp.renderer.html.HTMLComponentRenderer
addChildToParent
 
Methods inherited from class org.enhydra.barracuda.core.comp.renderer.DOMComponentRenderer
showNodeInterfaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger

btbcomp

protected BToggleButton btbcomp
Constructor Detail

HTMLToggleRenderer

public HTMLToggleRenderer()
Method Detail

renderComponent

public void renderComponent(BComponent comp,
                            View view,
                            ViewContext vc)
                     throws RenderException
Description copied from class: DOMComponentRenderer
This method should actually render the data from the component into the view, taking into consideration the specified ViewContext. Generally, every renderer will implement this method.

Specified by:
renderComponent in interface Renderer
Overrides:
renderComponent in class HTMLInputRenderer
Parameters:
comp - the component to be rendered
view - the view the component should be rendered in
vc - the view context
Throws:
RenderException - if unable to render the component in the specified view


Copyright © 2001 Enhydra.org