|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.theme.PortalTheme
public abstract class PortalTheme
A portal theme is a collection of tags that will be injected into a layout to govern the look and feel of a portal page.
Themes are links to css, javascript and image/resource files. A theme's css needs to cooperate with the markup in the portal layout, the markup produced by the portlets, and the markup produced by the render set.
Any theme that the portal will pick up needs to be defined in a theme descriptor. The theme desciptor is an xml file in WEB-INF/ with the file name *-themes.xml
ObjectRenderer
,
PortalLayout
Constructor Summary | |
---|---|
PortalTheme()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the theme. |
abstract java.util.Collection |
getElements()
|
ThemeServiceInfo |
getServiceInfo()
|
ThemeInfo |
getThemeInfo()
|
void |
init(ThemeServiceInfo serviceInfo,
ThemeInfo info)
Initialize the theme with a reference to the theme service and the theme meta data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortalTheme()
Method Detail |
---|
public abstract java.util.Collection getElements()
public void init(ThemeServiceInfo serviceInfo, ThemeInfo info)
serviceInfo
- a theme service referenceinfo
- the meta data of the theme to renderpublic void destroy()
public ThemeInfo getThemeInfo()
public ThemeServiceInfo getServiceInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |