ResolveHandler
public class FontSizeResolveHandler extends ConstantsResolveHandler
Constructor | Description |
---|---|
FontSizeResolveHandler() |
Modifier and Type | Method | Description |
---|---|---|
StyleKey[] |
getRequiredStyles() |
This indirectly defines the resolve order.
|
double |
getScaleLargerFactor(double parentSize) |
|
double |
getScaleSmallerFactor(double parentSize) |
|
void |
resolve(LayoutProcess process,
LayoutElement currentNode,
StyleKey key) |
Resolves a single property.
|
addNormalizeValue, addValue, getFallback, lookupValue, resolveValue, setFallback
public StyleKey[] getRequiredStyles()
getRequiredStyles
in interface ResolveHandler
getRequiredStyles
in class ConstantsResolveHandler
public void resolve(LayoutProcess process, LayoutElement currentNode, StyleKey key)
resolve
in interface ResolveHandler
resolve
in class ConstantsResolveHandler
currentNode
- style
- public double getScaleLargerFactor(double parentSize)
public double getScaleSmallerFactor(double parentSize)