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

MaximizingStrategyImpl - JBOSS Portal 2.4 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


Constructor Summary
MaximizingStrategyImpl()
           
 
Method Summary
 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
 

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