org.apache.jetspeed.portal.controls
Class VelocityPortletSetControl

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.controls.AbstractPortletControl
          extended byorg.apache.jetspeed.portal.controls.VelocityPortletControl
              extended byorg.apache.jetspeed.portal.controls.VelocityPortletSetControl
All Implemented Interfaces:
Cacheable, Portlet, PortletControl, PortletSet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable

public class VelocityPortletSetControl
extends VelocityPortletControl

A Velocity based portlet control designed for handling a PortletSet child

Version:
$Id: VelocityPortletSetControl.java,v 1.17 2005/03/21 18:21:41 sgala Exp $
Author:
RaphaŽl Luta
See Also:
Serialized Form

Nested Class Summary
 class VelocityPortletSetControl.PortletTab
          Utilty class describing a Tab elemnt in the template Velocity Context
 class VelocityPortletSetControl.PortletTabComparator
          Used to correctly order tabs based on the position value that is found each PortletTab's parent Portlet's PortletConfig object.
 
Nested classes inherited from class org.apache.jetspeed.portal.PortletSet
PortletSet.Constraints
 
Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.controls.AbstractPortletControl
BACKGROUND_COLOR, COLOR, TITLE_COLOR, WIDTH
 
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
content
 
Fields inherited from interface org.apache.jetspeed.portal.Portlet
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL
 
Constructor Summary
VelocityPortletSetControl()
           
 
Method Summary
 void buildContext(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
          This method adds the control specific objects to the context
 
Methods inherited from class org.apache.jetspeed.portal.controls.VelocityPortletControl
buildActionList, createActionList, getAction, getContent, isCacheable
 
Methods inherited from class org.apache.jetspeed.portal.controls.AbstractPortletControl
addPortlet, addPortlet, addPortlet, addPortlet, allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, getBackgroundColor, getColor, getConfig, getController, getDescription, getID, getName, getPortlet, getPortletAt, getPortletByID, getPortletByName, getPortletConfig, getPortlets, getTitle, getTitleColor, getWidth, init, init, isClosed, isMinimized, setBackgroundColor, setClosed, setColor, setConfig, setController, setDescription, setID, setMinimized, setName, setPortlet, setPortletConfig, setTitle, setTitleColor, setWidth, setWidth, size, supportsType, toArray
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getCreationTime, getDescription, getExpirationMillis, getExpire, getHandle, getHandle, getImage, getImage, getInstance, getTitle, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setContent, setContent, setContent, setCreationTime, setExpirationMillis, setHandle, setImage, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.portal.Portlet
getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getCreationTime, getDescription, getImage, getInstance, getTitle, isShowTitleBar, providesCustomization, setAttribute, setCreationTime, setImage, setTitle
 

Constructor Detail

VelocityPortletSetControl

public VelocityPortletSetControl()
Method Detail

buildContext

public void buildContext(org.apache.turbine.util.RunData rundata,
                         org.apache.velocity.context.Context context)
This method adds the control specific objects to the context

Overrides:
buildContext in class VelocityPortletControl
Parameters:
rundata - the RunData object for this request
context - the Context used by the template


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.