fop 0.95

org.apache.fop.fo.properties
Class SpacePropertyMaker

java.lang.Object
  extended by org.apache.fop.fo.properties.CorrespondingPropertyMaker
      extended by org.apache.fop.fo.properties.SpacePropertyMaker

public class SpacePropertyMaker
extends CorrespondingPropertyMaker

Special CorrespondingPropertyMaker that sets the conditionality subproperty correctly for space-* properties.


Field Summary
 
Fields inherited from class org.apache.fop.fo.properties.CorrespondingPropertyMaker
baseMaker, lr_tb, rl_tb, tb_rl, useParent
 
Constructor Summary
SpacePropertyMaker(PropertyMaker baseMaker)
           
 
Method Summary
 Property compute(PropertyList propertyList)
          Return a Property object representing the value of this property, based on other property values for this FO.
 
Methods inherited from class org.apache.fop.fo.properties.CorrespondingPropertyMaker
getWMPropertyList, isCorrespondingForced, setCorresponding, setRelative, setUseParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacePropertyMaker

public SpacePropertyMaker(PropertyMaker baseMaker)
Parameters:
baseMaker - base property maker
Method Detail

compute

public Property compute(PropertyList propertyList)
                 throws PropertyException
Return a Property object representing the value of this property, based on other property values for this FO. A special case is properties which inherit the specified value, rather than the computed value.

Overrides:
compute in class CorrespondingPropertyMaker
Parameters:
propertyList - The PropertyList for the FO.
Returns:
Property A computed Property value or null if no rules are specified (in foproperties.xml) to compute the value.
Throws:
PropertyException

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.