|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.ui.WcmLayout
This class is a base implementation of a UI layout.
Field Summary | |
protected java.util.Map |
regionMap
A Map of all regions in the layout where each region map entry contains a List object that contains the region WcmUiModule modules. |
Constructor Summary | |
WcmLayout()
|
Method Summary | |
void |
addModule(java.lang.String region,
WcmUiModule m)
Adds a new WcmUiModule object to the layout region. |
java.util.List |
getModuleList(java.lang.String region)
Returns the list of all UI modules in the specified region. |
void |
renderRegion(java.lang.String region,
java.io.Writer w)
Loops through all the modules in a region and calls renderOneRegionItem for each of them. |
protected void |
renderRegionItem(java.lang.String region,
java.io.Writer w,
WcmUiModule m)
Renders the WcmUiModule object in the layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map regionMap
Constructor Detail |
public WcmLayout()
Method Detail |
public void addModule(java.lang.String region, WcmUiModule m) throws java.lang.Exception
region
- Region id.
java.lang.Exception
- when write errors occur.public java.util.List getModuleList(java.lang.String region)
region
- Region id.
public void renderRegion(java.lang.String region, java.io.Writer w) throws java.lang.Exception
region
- Region id.w
- Writer object.
java.lang.Exception
- when write errors occur.protected void renderRegionItem(java.lang.String region, java.io.Writer w, WcmUiModule m) throws java.lang.Exception
region
- Region idw
- Writer objectm
- WcmUiModule to render
java.lang.Exception
- when write errors occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |