org.apache.jetspeed.modules.actions.portlets
Class WeatherAction
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletAction
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.WeatherAction
- public class WeatherAction
- extends VelocityPortletAction
WeatherAction portlet uses WeatherUnderground's weather condition
stickers/banners to build the portlet view.
Donated by Community Grids Java Source Package
Provides supporting classess for portal environments.
- Version:
- $Id: WeatherAction.java,v 1.9 2004/02/23 02:56:58 jford Exp $
- Author:
- Ozgur Balsoy
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Method Summary |
protected void |
buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Nothing specific for maximized view. |
protected void |
buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Subclasses must override this method to provide default behavior
for the portlet action |
void |
doCancel(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
Methods inherited from class org.apache.turbine.modules.ActionEvent |
executeEvents, formatString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEATHER_CITY_INFO
public static final java.lang.String WEATHER_CITY_INFO
- See Also:
- Constant Field Values
WEATHER_STATE
public static final java.lang.String WEATHER_STATE
- See Also:
- Constant Field Values
WEATHER_CITY
public static final java.lang.String WEATHER_CITY
- See Also:
- Constant Field Values
WEATHER_STATION
public static final java.lang.String WEATHER_STATION
- See Also:
- Constant Field Values
WEATHER_STYLE
public static final java.lang.String WEATHER_STYLE
- See Also:
- Constant Field Values
WeatherAction
public WeatherAction()
buildMaximizedContext
protected void buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Nothing specific for maximized view.
- Overrides:
buildMaximizedContext
in class VelocityPortletAction
- Parameters:
portlet
- context
- rundata
- - See Also:
VelocityPortletAction.buildMaximizedContext(org.apache.jetspeed.portal.Portlet, org.apache.velocity.context.Context, org.apache.turbine.util.RunData)
buildNormalContext
protected void buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Subclasses must override this method to provide default behavior
for the portlet action
- Specified by:
buildNormalContext
in class VelocityPortletAction
- Parameters:
portlet
- context
- rundata
- - See Also:
VelocityPortletAction.buildNormalContext(org.apache.jetspeed.portal.portlets.VelocityPortlet, org.apache.velocity.context.Context, org.apache.turbine.util.RunData)
doCancel
public void doCancel(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
- Parameters:
data
- context
- - See Also:
VelocityPortletAction#doCancel
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.