|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Theme
Theme provides a simple aggregation of all of the decorations within the current "page."
Method Summary | |
---|---|
Decoration |
getDecoration(ContentFragment fragment)
Returns a a Decoration for the requested fragment. |
LayoutDecoration |
getPageLayoutDecoration()
Returns the the top most, "root" layout fragment's decoration. |
java.util.Collection |
getPortletDecorationNames()
Get a list of portlet decoration names used by portlets on the current page. |
java.util.Set |
getStyleSheets()
|
void |
init(ContentPage page,
DecorationFactory decoration,
RequestContext context)
Initialize a page theme |
boolean |
isInvalidated()
|
void |
setInvalidated(boolean flag)
|
Method Detail |
---|
java.util.Set getStyleSheets()
Decoration getDecoration(ContentFragment fragment)
fragment
- whose decoration we want to retrieve.
Decoration
,
Fragment
java.util.Collection getPortletDecorationNames()
Decoration
,
Fragment
LayoutDecoration getPageLayoutDecoration()
void init(ContentPage page, DecorationFactory decoration, RequestContext context)
context
- boolean isInvalidated()
void setInvalidated(boolean flag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |