ResolveHandler
BackgroundBreakResolveHandler
, BlockProgressionResolveHandler
, BorderStyleResolveHandler
, BorderWidthResolveHandler
, BoxSizingResolveHandler
, DirectionResolveHandler
, DisplayModelResolveHandler
, DisplayRoleResolveHandler
, FitResolveHandler
, FloatDisplaceResolveHandler
, FloatResolveHandler
, FontEffectResolveHandler
, FontEmphasizePositionResolveHandler
, FontEmphasizeStyleResolveHandler
, FontFamilyResolveHandler
, FontSizeResolveHandler
, FontStretchResolveHandler
, FontStyleResolveHandler
, IndentEdgeResetResolveHandler
, LineStackingStrategyResolveHandler
, ListOfConstantsResolveHandler
, ListStylePositionResolveHandler
, ListStyleTypeResolveHandler
, MinMaxFontSizeResolveHandler
, PositionResolveHandler
, QuotesResolveHandler
, TargetNameResolveHandler
, TargetNewResolveHandler
, TargetPositionResolveHandler
, TextAlignLastResolveHandler
, TextAlignResolveHandler
, TextDecorationWidthResolveHandler
, TextHeightResolveHandler
, TextJustifyResolveHandler
, TextJustifyTrimResolveHandler
, TextOverflowModeResolveHandler
, TextTransformResolveHandler
, TextWrapResolveHandler
, VerticalAlignResolveHandler
, WhitespaceCollapseResolveHandler
, WordBreakResolveHandler
, WordWrapResolveHandler
public abstract class ConstantsResolveHandler extends java.lang.Object implements ResolveHandler
Modifier | Constructor | Description |
---|---|---|
protected |
ConstantsResolveHandler() |
Modifier and Type | Method | 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(LayoutProcess process,
LayoutElement currentNode,
StyleKey key) |
Resolves a single property.
|
protected CSSValue |
resolveValue(LayoutProcess 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(LayoutProcess process, LayoutElement currentNode, StyleKey key)
resolve
in interface ResolveHandler
currentNode
- style
- protected CSSValue resolveValue(LayoutProcess process, LayoutElement currentNode, StyleKey key)