public interface StyleResolver extends StatefullComponent
Modifier and Type | Method and Description |
---|---|
LayoutContext |
createAnonymousContext(ContextId id,
LayoutContext parent) |
StyleResolver |
deriveInstance() |
LayoutStyle |
getInitialStyle() |
void |
initialize(LayoutProcess layoutProcess) |
boolean |
isPseudoElementStyleResolvable(LayoutElement element,
java.lang.String pseudo)
Performs tests, whether there is a pseudo-element definition for the
given element.
|
LayoutStyle |
resolvePageStyle(CSSValue pageName,
PseudoPage[] pseudoPages,
PageAreaType pageArea) |
void |
resolveStyle(LayoutElement element)
Resolves the style.
|
saveState
StyleResolver deriveInstance()
void resolveStyle(LayoutElement element)
element
- boolean isPseudoElementStyleResolvable(LayoutElement element, java.lang.String pseudo)
element
- pseudo
- void initialize(LayoutProcess layoutProcess)
LayoutStyle resolvePageStyle(CSSValue pageName, PseudoPage[] pseudoPages, PageAreaType pageArea)
LayoutContext createAnonymousContext(ContextId id, LayoutContext parent)
LayoutStyle getInitialStyle()