| java.lang.Object za.org.coefficient.html.Page
Page | public class Page implements Serializable(Code) | | The Page object is like a sheet of paper on which the content is added.
The theme is like a set of color pens and other printing devices and
the modules are what are added to the sheet of paper. Once
everything is in place, the Page is sent to the web browser.
The Page instance is created by the CoefficientServlet object and
is passed along through the Coefficient Context to all modules.
See Also: za.org.coefficient.servlet.CoefficientServlet See Also: CoefficientServlet author: Dylan Etkin version: $Revision: 1.26 $ |
Method Summary | |
public String | clearModuleContent(String moduleName) This method can be used to clear a modules set content from the
page before it has been rendered. | public String | displayFootMessage() | public String | getCenter() | public String | getCenterContent() | public String | getCenterContent(boolean includeNavBlock) | public String | getEast() | public String | getEastContent() | public String | getEastContent(boolean includeNavBlock) | public String | getErrors() | public String | getFooter() | public String | getHeader() | public String | getNorth() | public String | getNorthContent() | public String | getNorthContent(boolean includeNavBlock) | public String | getPositionForModule(String moduleName) | public Project | getProject() | public String | getSouth() | public String | getSouthContent() | public String | getSouthContent(boolean includeNavBlock) | public String | getThemeWelcomeContent() | public String | getWest() | public String | getWestContent() | public String | getWestContent(boolean includeNavBlock) | public long | process(PrintWriter out) | public void | setCenterContent(String html, Integer position, String moduleName) | public void | setEastContent(String html, Integer position, String moduleName) | public void | setError(String html) | public void | setModuleContent(String html, String name) | public void | setModuleContent(String html, String name, String utilityTheme) | public void | setNorthContent(String html, Integer position, String moduleName) | public void | setSouthContent(String html, Integer position, String moduleName) | public void | setWestContent(String html, Integer position, String moduleName) |
Page | public Page()(Code) | | Constructor. The constructor just store the stream this page will
write to.
|
clearModuleContent | public String clearModuleContent(String moduleName)(Code) | | This method can be used to clear a modules set content from the
page before it has been rendered. The content is returned so you
can do what you would like with the content but it will not show
up in the page unless placed there manually.
Parameters: moduleName - is the name of the modules content to clear. is the content html string if content has been set for the module, null otherwise. |
getCenterContent | public String getCenterContent(boolean includeNavBlock)(Code) | | |
getEastContent | public String getEastContent(boolean includeNavBlock)(Code) | | |
getNorthContent | public String getNorthContent(boolean includeNavBlock)(Code) | | |
getSouthContent | public String getSouthContent(boolean includeNavBlock)(Code) | | |
getWestContent | public String getWestContent(boolean includeNavBlock)(Code) | | |
|
|