当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
WindowResult - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.theme.page
Class WindowResult
java.lang.Object
org.jboss.portal.theme.page.WindowResult
- public class WindowResult
- extends java.lang.Object
The window result represent the generated content of a window.
It contains several kind of data :
a map of actions available for the window
Nested Class Summary |
static class |
WindowResult.Action
Represents an action that can be triggered. |
Constructor Summary |
WindowResult(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowResult
public WindowResult(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
getTitle
public java.lang.String getTitle()
getContent
public java.lang.String getContent()
getHeaderContent
public java.lang.String getHeaderContent()
getTriggerableActions
public java.util.Collection getTriggerableActions(java.lang.String familyName)
- Parameters:
familyName
-
- Returns:
- a collection of triggerable actions for this portlet
- See Also:
WindowResult.Action
getResponseProperties
public Properties getResponseProperties()
- Returns:
- the response properties that were set by the portlet during the render or action
getWindowProperties
public java.util.Map getWindowProperties()
- Returns:
- the properties that were set for this particular window