| java.lang.Object com.caucho.portal.generic.AbstractRenderer com.caucho.portal.alpharenderer.HtmlRenderer
HtmlRenderer | public class HtmlRenderer extends AbstractRenderer (Code) | | Preferences:
- html.stylesheet
- the css stylesheet to use, overrides the value set with setStylesheet()
ResourceBundle lookups:
- portletMode.portletMode.title
- The name to display when referring to the portletMode
- portletMode.portletMode.shortDescription
- A short description of the portlet mode
- windowState.windowState.title
- The name to display when referring to the windowState
- windowState.windowState.shortDescription
- A short description of the window state
|
Method Summary | |
protected void | beginPage(PrintWriter out, RenderRequest request, String namespace) | protected void | beginWindow(PrintWriter out, RenderRequest request, String namespace) | protected void | endPage(PrintWriter out, RenderRequest request, String namespace) | protected void | endWindow(PrintWriter out, RenderRequest request, String namespace) | public String | getDoctype() | public String | getPageTitle() | public Menu | getPortletModeMenu() | public String | getStylesheet() | public Location | getTitleLocation() | public Menu | getWindowStateMenu() | protected void | htmlPortletModeMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) | protected void | htmlTitle(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) | protected void | htmlWindowStateMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) | public void | init() | public boolean | isCompact() | protected void | printNewline(PrintWriter out) | public void | setCompact(boolean compact) Set to true for compact output without newlines,
default false. | public void | setDoctype(String doctype) The doctype. | public void | setPageTitle(String pageTitle) | public void | setPortletModeMenu(Menu portletModeMenu) | public void | setStylesheet(String stylesheet) The stylesheet to use, unless overridden with the portlet preference
css.stylesheet . | public void | setTitleLocation(String titleLocation) Location to place the title of the portlet:
"hidden", "frame", "header" (default), or "footer". | public void | setWindowStateMenu(Menu windowStateMenu) |
PREFERENCE_STYLESHEET | final public static String PREFERENCE_STYLESHEET(Code) | | |
getPortletModeMenu | public Menu getPortletModeMenu()(Code) | | |
getWindowStateMenu | public Menu getWindowStateMenu()(Code) | | |
isCompact | public boolean isCompact()(Code) | | |
setCompact | public void setCompact(boolean compact)(Code) | | Set to true for compact output without newlines,
default false.
|
setDoctype | public void setDoctype(String doctype)(Code) | | The doctype.
Default is html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transistional.dtd
|
setPageTitle | public void setPageTitle(String pageTitle)(Code) | | The title for the page, included in the html output as:
<head>
<title>pageTitle</title>
</head>
|
setPortletModeMenu | public void setPortletModeMenu(Menu portletModeMenu)(Code) | | Default is an instance of
HtmlMenu |
setStylesheet | public void setStylesheet(String stylesheet)(Code) | | The stylesheet to use, unless overridden with the portlet preference
css.stylesheet . Default is "/portal.css". .
|
setTitleLocation | public void setTitleLocation(String titleLocation)(Code) | | Location to place the title of the portlet:
"hidden", "frame", "header" (default), or "footer".
|
setWindowStateMenu | public void setWindowStateMenu(Menu windowStateMenu)(Code) | | Default is an instance of
HtmlMenu |
Methods inherited from com.caucho.portal.generic.AbstractRenderer | protected void beginPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void beginPage(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void beginWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void beginWindow(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected PortletURL createControlURL(RenderRequest request)(Code)(Java Doc) protected void endPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void endPage(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void endWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected void endWindow(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) public void finish(PrintWriter out, RenderRequest request, String namespace, boolean isDiscarded) throws IOException(Code)(Java Doc) public void finish(OutputStream out, RenderRequest request, String namespace, boolean isDiscarded) throws IOException(Code)(Java Doc) public int getBufferSize()(Code)(Java Doc) protected String getContentType(RenderRequest request)(Code)(Java Doc) public String getDefaultContentType()(Code)(Java Doc) protected Locale getLocale(RenderRequest request)(Code)(Java Doc) public OutputStream getOutputStream(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) protected PortletConfig getPortletConfig(RenderRequest request)(Code)(Java Doc) protected Set<PortletMode> getPortletModes(RenderRequest request)(Code)(Java Doc) protected RenderResponse getRenderResponse(RenderRequest request)(Code)(Java Doc) protected ResourceBundle getResourceBundle(RenderRequest request)(Code)(Java Doc) protected String getShortTitle(RenderRequest request)(Code)(Java Doc) protected String getTitle(RenderRequest request)(Code)(Java Doc) protected Set<WindowState> getWindowStates(RenderRequest request)(Code)(Java Doc) public PrintWriter getWriter(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc) public boolean isAlwaysStream()(Code)(Java Doc) public boolean isAlwaysWrite()(Code)(Java Doc) public boolean isPortletModeAllowed(PortletRequest request, PortletMode portletMode)(Code)(Java Doc) public boolean isWindowStateAllowed(PortletRequest request, WindowState windowState)(Code)(Java Doc) protected PrintWriter printEscaped(PrintWriter out, CharSequence string)(Code)(Java Doc) public void setAlwaysStream(boolean isAlwaysStream)(Code)(Java Doc) public void setAlwaysWrite(boolean isAlwaysWrite)(Code)(Java Doc) public void setBufferSize(int bufferSize)(Code)(Java Doc) public void setDecorateWindow(boolean isDecorateWindow)(Code)(Java Doc) public void setDefaultContentType(String defaultContentType)(Code)(Java Doc)
|
|
|