Class ColorResolveHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.resolver.values.computed.color.ColorResolveHandler
-
- All Implemented Interfaces:
ResolveHandler
- Direct Known Subclasses:
OtherColorResolveHandler
public class ColorResolveHandler extends Object implements ResolveHandler
Creation-Date: 11.12.2005, 23:28:29- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ColorResolveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CSSColorValue
getCurrentColor(LayoutElement currentNode)
StyleKey[]
getRequiredStyles()
This indirectly defines the resolve order.void
resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
Resolves a single property.
-
-
-
Method Detail
-
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:
-
resolve
public void resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
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.
-
getCurrentColor
protected CSSColorValue getCurrentColor(LayoutElement currentNode)
-
-