org.jfree.layouting.layouter.style.resolver.autovalue.line
Class TextHeightResolveHandler

java.lang.Object
  extended by org.jfree.layouting.layouter.style.resolver.autovalue.line.TextHeightResolveHandler
All Implemented Interfaces:
ResolveHandler

public class TextHeightResolveHandler
extends java.lang.Object
implements ResolveHandler


Constructor Summary
TextHeightResolveHandler()
           
 
Method Summary
 StyleKey[] getRequiredStyles()
          This indirectly defines the resolve order.
 void resolve(LayoutProcess process, LayoutElement currentNode, StyleKey key)
          Resolves a single property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextHeightResolveHandler

public TextHeightResolveHandler()
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 interface ResolveHandler
Returns:
the array of required style keys.

resolve

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

Specified by:
resolve in interface ResolveHandler
Parameters:
currentNode -
style -