当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
MaximizingStrategyImpl - JBOSS Portal 2.4 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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