org.apache.fop.datatypes
Class LinearCombinationLength

java.lang.Object
  extended by org.apache.fop.datatypes.Length
      extended by org.apache.fop.datatypes.LinearCombinationLength

public class LinearCombinationLength
extends Length


Field Summary
protected  ArrayList factors
           
protected  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 ArrayList factors

lengths

protected 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.