当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
DecorationRenderer - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.theme.render
Interface DecorationRenderer
- All Superinterfaces:
- Renderer
- All Known Implementing Classes:
- DivDecorationRenderer, EmptyDecorationRenderer
- public interface DecorationRenderer
- extends Renderer
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.
- See Also:
PortalRenderSet
,
WindowRenderer
,
PortletRenderer
render
public void render(RenderContext renderContext,
PortletContext windowState,
WindowResult result)
throws RenderException
- Create the markup for the portlet decoration
- 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.windowState
- the portlet's navigational state (mode, window state,...)result
- the fragment result containing the produced markup from the portlet
- Throws:
RenderException