|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortletConfig interface provides the portlet with information about itself. This information is used by the portlet as well as the portlet container to render the content.
Portlet
Method Summary | |
boolean |
canBeClosed()
Returns whether the portlet can be closed or not. |
boolean |
canBeMaximized()
Returns whether the portlet can be maximized or not. |
boolean |
canBeMinimized()
Returns whether the portlet can be minimized or not. |
java.lang.String |
getAttribute(java.lang.String aName)
Returns the value of the attribute with the given name. |
java.util.Enumeration |
getAttributeNames()
Returns an enumeration of all attributes names that this configuration holds. |
java.lang.String |
getDescription(java.util.Locale aLocale)
Returns the description of the portlet. |
java.lang.String |
getName()
Returns the name of the portlet. |
PortletContext |
getPortletContext()
Returns the portlet context that the caller is executing in. |
java.util.Locale[] |
getSupportedLocales()
Returns an array of locales that are supported by the portlet. |
MediaType[] |
getSupportedMediaTypes()
Returns an array of media-types that are supported by the portlet. |
java.lang.String |
getTitle(java.util.Locale aLocale)
Returns the title of the portlet. |
Method Detail |
public java.lang.String getName()
public java.lang.String getTitle(java.util.Locale aLocale)
aLocale
- the locale that the title is required forpublic java.lang.String getDescription(java.util.Locale aLocale)
aLocale
- the locale that the description is required forpublic boolean canBeMinimized()
public boolean canBeMaximized()
public boolean canBeClosed()
public java.util.Locale[] getSupportedLocales()
public MediaType[] getSupportedMediaTypes()
public java.lang.String getAttribute(java.lang.String aName)
aName
- the attribute namepublic java.util.Enumeration getAttributeNames()
getAttribute(String)
public PortletContext getPortletContext()
Portlet.init(org.apache.jetspeed.portal.PortletConfig)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |