当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
WindowRenderer - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.theme.render
Interface WindowRenderer
- All Superinterfaces:
- Renderer
- All Known Implementing Classes:
- DivWindowRenderer, DynaWindowRenderer, EmptyWindowRenderer
- public interface WindowRenderer
- extends Renderer
A window renderer is responsible for the creation of the markup of each portlet window in a portal page region.
A
Portlet window is the frame (the container) around the markup gernerated by the Portlet. It includes things like the
title, and the portlet mode and portlet window state information. The window renderer is assumed to delegate to the
DecorationRenderer
to generate the title and mode and state markup, and to the
PortletRenderer
to render the markup produced by the portlet. Note that the renderer do not call the
portlet container to execute the doView doEdit etc. method. The renderer is only responsible for placing the created
markup inside the page, and creating the necessary markup around it.
- Version:
- $LastChangedRevision: 5448 $, $LastChangedDate: 2006-10-13 15:29:17 -0400 (Fri, 13 Oct 2006) $
- Author:
PortalRenderSet
,
RegionRenderer
,
DecorationRenderer
,
PortletRenderer
render
public void render(RenderContext renderContext,
WindowContext portletContext,
WindowResult result)
throws RenderException
- Render the markup of a portlet window.
- Parameters:
renderContext
- 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.portletContext
- the information about the portlet that was renderedresult
- a window result containing the markup produced by the portlet
- Throws:
RenderException
- See Also:
RegionRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.Region, java.util.Map, java.util.Map)
,
PortletRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.WindowContext, org.jboss.portal.theme.page.WindowResult)
,
DecorationRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.WindowContext, org.jboss.portal.theme.page.WindowResult)
,
WindowContext
,
WindowResult