当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
MaximizingStrategyImpl - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.theme.impl.strategy
Class MaximizingStrategyImpl
java.lang.Object
org.jboss.portal.theme.strategy.LayoutStrategy
org.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 |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
- .
MaximizingStrategyImpl
public MaximizingStrategyImpl()
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 changescontext
- 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
-