org.jfree.layouting.layouter.style.resolver
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStyleResolver
protected AbstractStyleResolver()
createAnonymousContext
public LayoutContext createAnonymousContext(ContextId id,
LayoutContext parent)
- Specified by:
createAnonymousContext
in interface StyleResolver
initialize
public void initialize(LayoutProcess layoutProcess)
- Specified by:
initialize
in interface StyleResolver
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:
getInitialStyle
in interface StyleResolver
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)