public interface Theme
Modifier and Type | Method and Description |
---|---|
Decoration |
getDecoration(ContentFragment fragment)
Returns a a Decoration for the requested fragment.
|
LayoutDecoration |
getPageLayoutDecoration()
Returns the the top most, "root" layout fragment's
decoration.
|
Collection<String> |
getPortletDecorationNames()
Get a list of portlet decoration names used by
portlets on the current page.
|
Set<String> |
getStyleSheets() |
void |
init(ContentPage page,
DecorationFactory decoration,
RequestContext context)
Initialize a page theme
|
boolean |
isInvalidated() |
void |
setInvalidated(boolean flag) |
Set<String> getStyleSheets()
Decoration getDecoration(ContentFragment fragment)
fragment
- whose decoration we want to retrieve.Decoration
Collection<String> getPortletDecorationNames()
Decoration
LayoutDecoration getPageLayoutDecoration()
void init(ContentPage page, DecorationFactory decoration, RequestContext context)
context
- boolean isInvalidated()
void setInvalidated(boolean flag)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.