org.jboss.portal.theme.render.renderer
Interface DecorationRenderer

All Superinterfaces:
ObjectRenderer
All Known Implementing Classes:
DivDecorationRenderer, DynaDecorationRenderer, EmptyDecorationRenderer

public interface DecorationRenderer
extends ObjectRenderer

A decoration renderer is responsible for generating the markup of the portlet window title bar.

The decoration renderer has the responsibility to create the title , the window state links, and the portlet mode links. It is intended to be called by the WindowRenderer to produce part of the markup of a portlet wiindow. The other parts are intended to be created by the PortletRenderer, and the WindowRenderer itself.

Version:
$LastChangedRevision: 6943 $, $LastChangedDate: 2007-04-07 12:37:43 +0200 (Sat, 07 Apr 2007) $
Author:
PortalRenderSet, WindowRenderer, PortletRenderer

Method Summary
 void render(RendererContext rendererContext, DecorationRendererContext drc)
          Create the markup for the portlet decoration
 
Methods inherited from interface org.jboss.portal.theme.render.ObjectRenderer
endContext, startContext
 

Method Detail

render

void render(RendererContext rendererContext,
            DecorationRendererContext drc)
            throws RenderException
Create the markup for the portlet decoration

Parameters:
rendererContext - the state holder to provide information about the region, it's portlets, and the render set, which allows access to the other renderer interfaces of the render set.
Throws:
RenderException