org.apache.fop.datatypes
Class LinearCombinationLength

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

public class LinearCombinationLength
extends Length

a percent specified length quantity in XSL


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

Field Detail

factors

protected java.util.Vector factors

lengths

protected java.util.Vector lengths
Constructor Detail

LinearCombinationLength

public LinearCombinationLength()
Method Detail

addTerm

public void addTerm(double factor,
                    Length length)

computeValue

protected int computeValue()
Return the computed value in millipoints.
Overrides:
computeValue in class Length


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.