当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
MaximizingStrategyImpl - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.theme.impl.strategy
Class MaximizingStrategyImpl
java.lang.Object
org.jboss.portal.theme.strategy.AbstractLayoutStrategy
org.jboss.portal.theme.impl.strategy.MaximizingStrategyImpl
- All Implemented Interfaces:
- LayoutStrategy
- public class MaximizingStrategyImpl
- extends AbstractLayoutStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaximizingStrategyImpl
public MaximizingStrategyImpl()
evaluate
public StrategyResponse evaluate(StrategyContext context)
throws StrategyException
- Evaluate the strategy and return a strategy response, containing the desired changes.
- Parameters:
context
- a context containing the portal's current information about portlets, states and the layout
- Returns:
- a strategy response with the desired changes
- Throws:
StrategyException
- if the strategy is missconfigured, or can't deal with the provided information- See Also:
StrategyResponse
,
StrategyContext