org.jfree.layouting.layouter.style.resolver.computed.fonts

Class FontSizeResolveHandler

public class FontSizeResolveHandler extends ConstantsResolveHandler

Creation-Date: 18.12.2005, 17:03:15

Author: Thomas Morgner

Constructor Summary
FontSizeResolveHandler()
Method Summary
StyleKey[]getRequiredStyles()
This indirectly defines the resolve order.
doublegetScaleLargerFactor(double parentSize)
doublegetScaleSmallerFactor(double parentSize)
voidresolve(LayoutProcess process, LayoutElement currentNode, StyleKey key)
Resolves a single property.

Constructor Detail

FontSizeResolveHandler

public FontSizeResolveHandler()

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.

Returns:

getScaleLargerFactor

public double getScaleLargerFactor(double parentSize)

getScaleSmallerFactor

public double getScaleSmallerFactor(double parentSize)

resolve

public void resolve(LayoutProcess process, LayoutElement currentNode, StyleKey key)
Resolves a single property.

Parameters: currentNode style