org.apache.fop.datatypes
Class LinearCombinationLength

java.lang.Object
  |
  +--org.apache.fop.datatypes.Length
        |
        +--org.apache.fop.datatypes.LinearCombinationLength

public class LinearCombinationLength
extends Length


Field Summary
protected  java.util.ArrayList factors
           
protected  java.util.ArrayList lengths
           
 
Fields inherited from class org.apache.fop.datatypes.Length
bIsComputed, millipoints
 
Constructor Summary
LinearCombinationLength()
           
 
Method Summary
 void addTerm(double factor, Length length)
           
 void computeValue()
          Return the computed value in millipoints.
 
Methods inherited from class org.apache.fop.datatypes.Length
asNumeric, getTableUnits, isAuto, isComputed, mvalue, resolveTableUnit, setComputedValue, setComputedValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

factors

protected java.util.ArrayList factors

lengths

protected java.util.ArrayList lengths
Constructor Detail

LinearCombinationLength

public LinearCombinationLength()
Method Detail

addTerm

public void addTerm(double factor,
                    Length length)

computeValue

public void computeValue()
Return the computed value in millipoints.
Overrides:
computeValue in class Length


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.