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

MaximizingStrategyImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.theme.impl.strategy
Class MaximizingStrategyImpl

java.lang.Object
  extended byorg.jboss.portal.theme.strategy.LayoutStrategy
      extended byorg.jboss.portal.theme.impl.strategy.MaximizingStrategyImpl

public class MaximizingStrategyImpl
extends LayoutStrategy

Version:
$Revision: 5448 $
Author:
Martin Holzner

Field Summary
private static org.apache.log4j.Logger log
          .
 
Fields inherited from class org.jboss.portal.theme.strategy.LayoutStrategy
 
Constructor Summary
MaximizingStrategyImpl()
           
 
Method Summary
private  void ensureSingleMaximizedWindow(java.util.List maximizedWindows, java.lang.String maximizedWindowId, StrategyResponse response)
          Ensure that
 StrategyResponse initialize(StrategyContext strategyContext)
          Initialize the strategy and return a strategy response, containing the desired changes.
 StrategyResponse stateChanged(StrategyEvent evt, StrategyContext context)
          The navigational state of one of the portlet windows on a page has changed.
 
Methods inherited from class org.jboss.portal.theme.strategy.LayoutStrategy
getAppId, getMediaType, getName, getRegistrationId, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log
.

Constructor Detail

MaximizingStrategyImpl

public MaximizingStrategyImpl()
Method Detail

initialize

public StrategyResponse initialize(StrategyContext strategyContext)
                            throws StrategyException
Description copied from class: LayoutStrategy
Initialize the strategy and return a strategy response, containing the desired changes.

Specified by:
initialize in class LayoutStrategy
Parameters:
strategyContext - a context containing the portal's current information about portlets, states and layout
Returns:
a strategy response with the desired changes
Throws:
StrategyException

stateChanged

public StrategyResponse stateChanged(StrategyEvent evt,
                                     StrategyContext context)
                              throws StrategyException
Description copied from class: LayoutStrategy
The navigational state of one of the portlet windows on a page has changed.

Specified by:
stateChanged in class LayoutStrategy
Parameters:
evt - the event carying the detected changes
context - a context containing the portal's current information about portlets, states and layout
Returns:
a strategy response with the desired changes
Throws:
StrategyException

ensureSingleMaximizedWindow

private void ensureSingleMaximizedWindow(java.util.List maximizedWindows,
                                         java.lang.String maximizedWindowId,
                                         StrategyResponse response)
Ensure that

Parameters:
maximizedWindows -
maximizedWindowId -
response -