当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
ModifiableWindowResult - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.theme.page
Class ModifiableWindowResult
java.lang.Object
org.jboss.portal.theme.render.MarkupResult
org.jboss.portal.theme.page.WindowResult
org.jboss.portal.theme.page.ModifiableWindowResult
- All Implemented Interfaces:
- ModifiableMarkupResult
- public final class ModifiableWindowResult
- extends WindowResult
- implements ModifiableMarkupResult
Constructor Summary |
ModifiableWindowResult(java.lang.String title,
java.lang.String content,
java.util.Map actions,
java.util.Map windowProperties,
Properties responseProperties,
java.lang.String headerChars)
Create a new WindowResult with the information about the renderered portlet. |
Methods inherited from class org.jboss.portal.theme.render.MarkupResult |
getLayoutState, getLayoutURI, getPageName, getPageProperties, getPortalProperties, getPortletMode, getWindowContext, getWindowContextMap, getWindowIDs, getWindowResultMap, getWindowState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifiableWindowResult
public ModifiableWindowResult(java.lang.String title,
java.lang.String content,
java.util.Map actions,
java.util.Map windowProperties,
Properties responseProperties,
java.lang.String headerChars)
- Create a new WindowResult with the information about the renderered portlet.
A window result contains the the rendered markup fragment of the portlet, the title, a map of action urls
to trigger mode and state changes, and the properties that were set as portlet response properties.
- Parameters:
title
- the title to be displayed for this portlet in the rendered pagecontent
- the rendered markup fragment of the portletactions
- a map of actions possible for this portletwindowProperties
- the properties for this windowresponseProperties
- the properties that were set as response properties during the portlet's render or actionheaderChars
- content that needs to be injected into the header- See Also:
WindowResult.Action
setLayoutURI
public void setLayoutURI(java.lang.String uri)
- Specified by:
setLayoutURI
in interface ModifiableMarkupResult
setLayoutState
public void setLayoutState(java.lang.String layoutState)
- Specified by:
setLayoutState
in interface ModifiableMarkupResult
addWindowContext
public void addWindowContext(WindowContext windowContext)
- Specified by:
addWindowContext
in interface ModifiableMarkupResult
addWindowResult
public void addWindowResult(java.lang.String windowID,
WindowResult result)
- Specified by:
addWindowResult
in interface ModifiableMarkupResult
setNavigationalStateContext
public void setNavigationalStateContext(NavigationalStateContext navCtx)
setPageName
public void setPageName(java.lang.String pageName)
setPageProperties
public void setPageProperties(java.util.Map pageProperties)
setPortalProperties
public void setPortalProperties(java.util.Map portalProperties)