public class ColorResolveHandler extends Object implements ResolveHandler
Constructor and Description |
---|
ColorResolveHandler() |
Modifier and Type | Method and 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.
|
public StyleKey[] getRequiredStyles()
getRequiredStyles
in interface ResolveHandler
public void resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
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 CSSColorValue getCurrentColor(LayoutElement currentNode)
Copyright © 2020 Hitachi Vantara. All rights reserved.