public abstract class ConstantsResolveHandler extends Object implements ResolveHandler
Modifier | Constructor and Description |
---|---|
protected |
ConstantsResolveHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNormalizeValue(CSSConstant constant) |
protected void |
addValue(CSSConstant constant,
CSSValue value) |
CSSValue |
getFallback() |
StyleKey[] |
getRequiredStyles()
This indirectly defines the resolve order.
|
protected CSSValue |
lookupValue(CSSConstant value) |
void |
resolve(DocumentContext process,
LayoutElement currentNode,
StyleKey key)
Resolves a single property.
|
protected CSSValue |
resolveValue(DocumentContext process,
LayoutElement currentNode,
StyleKey key) |
protected void |
setFallback(CSSValue fallback) |
public CSSValue getFallback()
protected void setFallback(CSSValue fallback)
protected CSSValue lookupValue(CSSConstant value)
protected void addValue(CSSConstant constant, CSSValue value)
protected void addNormalizeValue(CSSConstant constant)
public StyleKey[] getRequiredStyles()
getRequiredStyles
in interface ResolveHandler
public void resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
ResolveHandler
resolve
in interface ResolveHandler
process
- the current layout process controlling everytingcurrentNode
- the current layout element that is processedkey
- the style key that is computed.protected CSSValue resolveValue(DocumentContext process, LayoutElement currentNode, StyleKey key)
Copyright © 2017 Hitachi Vantara. All rights reserved.