Class ConstantsResolveHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.resolver.values.computed.ConstantsResolveHandler
-
- All Implemented Interfaces:
ResolveHandler
- Direct Known Subclasses:
BlockProgressionResolveHandler
,BorderStyleResolveHandler
,BorderWidthResolveHandler
,BoxSizingResolveHandler
,DirectionResolveHandler
,DisplayModelResolveHandler
,DisplayRoleResolveHandler
,FitResolveHandler
,FloatDisplaceResolveHandler
,FloatResolveHandler
,FontEffectResolveHandler
,FontEmphasizePositionResolveHandler
,FontEmphasizeStyleResolveHandler
,FontFamilyResolveHandler
,FontSizeResolveHandler
,FontSmoothResolveHandler
,FontStretchResolveHandler
,FontStyleResolveHandler
,FontVariantResolveHandler
,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 Object implements ResolveHandler
Creation-Date: 11.12.2005, 23:15:57- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConstantsResolveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods 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(DocumentContext process, LayoutElement currentNode, StyleKey key)
Resolves a single property.protected CSSValue
resolveValue(DocumentContext process, LayoutElement currentNode, StyleKey key)
protected void
setFallback(CSSValue fallback)
-
-
-
Method Detail
-
getFallback
public CSSValue getFallback()
-
setFallback
protected void setFallback(CSSValue fallback)
-
lookupValue
protected CSSValue lookupValue(CSSConstant value)
-
addValue
protected void addValue(CSSConstant constant, CSSValue value)
-
addNormalizeValue
protected void addNormalizeValue(CSSConstant constant)
-
getRequiredStyles
public StyleKey[] getRequiredStyles()
This indirectly defines the resolve order. The higher the order, the more dependent is the resolver on other resolvers to be complete.- Specified by:
getRequiredStyles
in interfaceResolveHandler
- Returns:
- the array of required style keys.
-
resolve
public void resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
Description copied from interface:ResolveHandler
Resolves a single property.- Specified by:
resolve
in interfaceResolveHandler
- Parameters:
process
- the current layout process controlling everytingcurrentNode
- the current layout element that is processedkey
- the style key that is computed.
-
resolveValue
protected CSSValue resolveValue(DocumentContext process, LayoutElement currentNode, StyleKey key)
-
-