org.apache.fop.datatypes
Class LengthRange

Direct Known Subclasses:
Space

public class LengthRange

a "progression-dimension" quantity ex. block-progression-dimension, inline-progression-dimension corresponds to the triplet min-height, height, max-height (or width)


Method Summary
 LengthgetMaximum()
           
 LengthgetMinimum()
           
 LengthgetOptimum()
           
 voidsetMaximum(Length max, boolean bIsDefault)
          Set maximum value to max if it is >= optimum or optimum isn't set.
 voidsetMinimum(Length min, boolean bIsDefault)
          Set minimum value to min.
 voidsetOptimum(Length opt, boolean bIsDefault)
          Set the optimum value.

Method Detail

getMaximum

public Length getMaximum()

getMinimum

public Length getMinimum()

getOptimum

public Length getOptimum()

setMaximum

public void setMaximum(Length max, boolean bIsDefault)
Set maximum value to max if it is >= optimum or optimum isn't set.
Parameters:
max - A Length value specifying the maximum value for this
bIsDefault - If true, this is set as a "default" value and not a user-specified explicit value.

setMinimum

public void setMinimum(Length min, boolean bIsDefault)
Set minimum value to min.
Parameters:
min - A Length value specifying the minimum value for this LengthRange.
bIsDefault - If true, this is set as a "default" value and not a user-specified explicit value.

setOptimum

public void setOptimum(Length opt, boolean bIsDefault)
Set the optimum value.
Parameters:
opt - A Length value specifying the optimum value for this
bIsDefault - If true, this is set as a "default" value and not a user-specified explicit value.

Association Links

to Class org.apache.fop.datatypes.Length

to Class org.apache.fop.datatypes.Length

to Class org.apache.fop.datatypes.Length