org.apache.jetspeed.portal.portlets
Class LinkPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.LinkPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable

public class LinkPortlet
extends AbstractPortlet

Portlet for rendering HTML links Can also be used for WML but no output will be created so redering for wml is done in by the /wml/column.vm file

Version:
$Id: LinkPortlet.java,v 1.7 2004/02/23 04:03:34 jford Exp $
Author:
Andreas Kempf
See Also:
Serialized Form

Field Summary
static java.lang.String EXT_LINK_IMG
           
static java.lang.String L_DESC
           
static java.lang.String L_IMAGE
           
static java.lang.String L_NAME
           
static java.lang.String L_URL
           
 
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
LinkPortlet()
           
 
Method Summary
 org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData data)
          Render HTML links like: .
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getExpire, getHandle, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, init, isCacheable, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

L_IMAGE

public static final java.lang.String L_IMAGE
See Also:
Constant Field Values

L_NAME

public static final java.lang.String L_NAME
See Also:
Constant Field Values

L_URL

public static final java.lang.String L_URL
See Also:
Constant Field Values

L_DESC

public static final java.lang.String L_DESC
See Also:
Constant Field Values

EXT_LINK_IMG

public static final java.lang.String EXT_LINK_IMG
See Also:
Constant Field Values
Constructor Detail

LinkPortlet

public LinkPortlet()
Method Detail

getContent

public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData data)
Render HTML links like: .

Specified by:
getContent in interface Portlet
Overrides:
getContent in class AbstractPortlet
Parameters:
data - org.apache.turbine.util.RunData
Returns:
org.apache.ecs.ConcreteElement


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