Class AbstractStyleResolver
- java.lang.Object
-
- org.jfree.layouting.layouter.style.resolver.AbstractStyleResolver
-
- All Implemented Interfaces:
StyleResolver,StatefullComponent
- Direct Known Subclasses:
DefaultStyleResolver,FlatStyleResolver
public abstract class AbstractStyleResolver extends java.lang.Object implements StyleResolver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractStyleResolver.AbstractStyleResolverState
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractStyleResolver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleancontainsAttrFunction(CSSValue value)protected voidcopyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element)LayoutContextcreateAnonymousContext(ContextId id, LayoutContext parent)protected voidfillState(AbstractStyleResolver.AbstractStyleResolverState state)protected DocumentContextgetDocumentContext()LayoutStylegetInitialStyle()protected StyleKey[]getKeys()protected LayoutProcessgetLayoutProcess()protected NamespaceCollectiongetNamespaces()voidinitialize(LayoutProcess layoutProcess)protected voidloadInitialStyle()protected abstract voidresolveOutOfContext(LayoutElement element)protected CSSValueresolveValue(CSSValue value, LayoutElement element)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jfree.layouting.StatefullComponent
saveState
-
Methods inherited from interface org.jfree.layouting.layouter.style.resolver.StyleResolver
deriveInstance, isPseudoElementStyleResolvable, resolvePageStyle, resolveStyle
-
-
-
-
Method Detail
-
createAnonymousContext
public LayoutContext createAnonymousContext(ContextId id, LayoutContext parent)
- Specified by:
createAnonymousContextin interfaceStyleResolver
-
initialize
public void initialize(LayoutProcess layoutProcess)
- Specified by:
initializein interfaceStyleResolver
-
loadInitialStyle
protected void loadInitialStyle()
-
copyStyleInformation
protected void copyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element)
-
resolveValue
protected CSSValue resolveValue(CSSValue value, LayoutElement element) throws FunctionEvaluationException
- Throws:
FunctionEvaluationException
-
containsAttrFunction
protected boolean containsAttrFunction(CSSValue value)
-
getLayoutProcess
protected LayoutProcess getLayoutProcess()
-
getInitialStyle
public LayoutStyle getInitialStyle()
- Specified by:
getInitialStylein interfaceStyleResolver
-
getDocumentContext
protected DocumentContext getDocumentContext()
-
getKeys
protected StyleKey[] getKeys()
-
getNamespaces
protected NamespaceCollection getNamespaces()
-
fillState
protected void fillState(AbstractStyleResolver.AbstractStyleResolverState state)
-
resolveOutOfContext
protected abstract void resolveOutOfContext(LayoutElement element)
-
-