|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.impl.render.dynamic.DynaRegionRenderer
Implementation of a drag and drop Region renderer.
RegionRenderer
Field Summary | |
private RegionRenderer |
delegate
|
private static java.lang.ThreadLocal |
disabledLocal
|
private static org.jboss.logging.Logger |
log
|
private java.util.Map |
portletPos
|
private java.util.Map |
windowIds
|
Constructor Summary | |
DynaRegionRenderer(RegionRenderer regionRenderer)
|
Method Summary | |
int |
getPortletNumber(java.lang.String regionId)
|
static boolean |
isEnabled()
|
void |
render(RenderContext renderContext,
Region region,
java.util.Map portletContexts,
java.util.Map windowResults)
Render the markup of an entire page region with all the portlets that are assigned to that region. |
void |
renderEnd(RenderContext ctx)
End the render process for this renderer. |
void |
renderStart(RenderContext ctx)
Start the render process for this renderer. |
void |
setWindowId(java.lang.String portletId,
java.lang.String windowId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Map portletPos
private java.util.Map windowIds
private static final org.jboss.logging.Logger log
private RegionRenderer delegate
private static final java.lang.ThreadLocal disabledLocal
Constructor Detail |
public DynaRegionRenderer(RegionRenderer regionRenderer) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
Method Detail |
public static boolean isEnabled()
public void render(RenderContext renderContext, Region region, java.util.Map portletContexts, java.util.Map windowResults) throws RenderException
RegionRenderer
render
in interface RegionRenderer
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.region
- the region to be renderedwindowResults
-
RenderException
RegionRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.Region, java.util.Map, java.util.Map)
public void renderStart(RenderContext ctx)
Renderer
This is a convenient way yo open tags, like a table or a div
renderStart
in interface Renderer
ctx
- the render context allowing access to state information of the current render processRenderer.renderStart(org.jboss.portal.theme.render.RenderContext)
public void renderEnd(RenderContext ctx)
Renderer
This is a convenient way yo close the tags that where opened by
renderStart
ctx
- the render context allowing access to state information of the current render processRenderer.renderEnd(org.jboss.portal.theme.render.RenderContext)
public int getPortletNumber(java.lang.String regionId)
public void setWindowId(java.lang.String portletId, java.lang.String windowId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |