站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ModifiableWindowResult - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.theme.page
Class ModifiableWindowResult

java.lang.Object
  extended byorg.jboss.portal.theme.render.MarkupResult
      extended byorg.jboss.portal.theme.page.WindowResult
          extended byorg.jboss.portal.theme.page.ModifiableWindowResult
All Implemented Interfaces:
ModifiableMarkupResult

public final class ModifiableWindowResult
extends WindowResult
implements ModifiableMarkupResult


Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.theme.page.WindowResult
WindowResult.Action
 
Field Summary
 
Fields inherited from class org.jboss.portal.theme.page.WindowResult
MODES_KEY, WINDOWSTATES_KEY
 
Fields inherited from class org.jboss.portal.theme.render.MarkupResult
layoutState, layoutURI, navigationalStateContext, pageName, pageProperties, portalProperties, portlets, renderSet, results
 
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.
 
Method Summary
 void addWindowContext(WindowContext windowContext)
           
 void addWindowResult(java.lang.String windowID, WindowResult result)
           
 void setLayoutState(java.lang.String layoutState)
           
 void setLayoutURI(java.lang.String uri)
           
 void setNavigationalStateContext(NavigationalStateContext navCtx)
           
 void setPageName(java.lang.String pageName)
           
 void setPageProperties(java.util.Map pageProperties)
           
 void setPortalProperties(java.util.Map portalProperties)
           
 
Methods inherited from class org.jboss.portal.theme.page.WindowResult
getContent, getHeaderContent, getResponseProperties, getTitle, getTriggerableActions, getWindowContext, getWindowProperties, getWindowResult
 
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
 

Constructor Detail

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 page
content - the rendered markup fragment of the portlet
actions - a map of actions possible for this portlet
windowProperties - the properties for this window
responseProperties - the properties that were set as response properties during the portlet's render or action
headerChars - content that needs to be injected into the header
See Also:
WindowResult.Action
Method Detail

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)