|
||||||||||
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(Fragment fragment)
Returns a a Decoration for the requested fragment. |
LayoutDecoration |
getPageLayoutDecoration()
Returns the the top most, "root" layout fragment's decoration. |
Collection |
getPortletDecorationNames()
Get a list of portlet decoration names used by portlets on the current page. |
Set |
getStyleSheets()
|
void |
init(Page page,
DecorationFactory decoration,
RequestContext context)
Initialize a page theme |
boolean |
isInvalidated()
|
void |
setInvalidated(boolean flag)
|
Method Detail |
---|
Set getStyleSheets()
Decoration getDecoration(Fragment fragment)
fragment
- whose decoration we want to retrieve.
Decoration
,
Fragment
Collection getPortletDecorationNames()
Decoration
,
Fragment
LayoutDecoration getPageLayoutDecoration()
void init(Page 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 |