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

Class MinMaxFontSizeResolveHandler

public class MinMaxFontSizeResolveHandler extends ConstantsResolveHandler

Creation-Date: 21.12.2005, 12:47:43

Author: Thomas Morgner

Constructor Summary
MinMaxFontSizeResolveHandler()
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

MinMaxFontSizeResolveHandler

public MinMaxFontSizeResolveHandler()

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