org.jfree.report.layout
Class StackedLayoutManager

java.lang.Object
  |
  +--org.jfree.report.layout.AbstractBandLayoutManager
        |
        +--org.jfree.report.layout.StackedLayoutManager

public class StackedLayoutManager
extends AbstractBandLayoutManager


Fields inherited from class org.jfree.report.layout.AbstractBandLayoutManager
RELATIVE_CORRECTION_FACTOR
 
Constructor Summary
StackedLayoutManager()
           
 
Method Summary
protected  StrictDimension computeMinimumSize(Element e, StrictDimension containerBounds, StrictDimension retval, LayoutSupport support, boolean allowCaching)
           
protected  StrictDimension computePreferredSize(Element e, StrictDimension containerBounds, StrictDimension retval, LayoutSupport support, boolean allowCaching)
          Calculates the preferred size of an element.
 void doLayout(Band b, LayoutSupport support)
          Performs the layout of a band.
 StrictDimension minimumLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support)
          Calculates the minimum layout size for a band.
 StrictDimension preferredLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support)
          Calculates the preferred layout size for a band.
 
Methods inherited from class org.jfree.report.layout.AbstractBandLayoutManager
alignDown, alignUp, correctDimension, correctPoint, correctRelativeValue, createLayoutInfoForDynamics, createLayoutInformationForMinimumSize, createLayoutInformationForPreferredSize, getElementContentBounds, isElementStaticHeight, isElementStaticWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackedLayoutManager

public StackedLayoutManager()
Method Detail

doLayout

public void doLayout(Band b,
                     LayoutSupport support)
Performs the layout of a band.
Parameters:
b - the band.
support - the layout support used to compute sizes.

computeMinimumSize

protected StrictDimension computeMinimumSize(Element e,
                                             StrictDimension containerBounds,
                                             StrictDimension retval,
                                             LayoutSupport support,
                                             boolean allowCaching)

computePreferredSize

protected StrictDimension computePreferredSize(Element e,
                                               StrictDimension containerBounds,
                                               StrictDimension retval,
                                               LayoutSupport support,
                                               boolean allowCaching)
Calculates the preferred size of an element.
Parameters:
e - the element.
containerBounds - the bounds of the element's container.
support - the layout support used to compute sizes.
Returns:
the preferred size of the element.

minimumLayoutSize

public StrictDimension minimumLayoutSize(Band b,
                                         StrictDimension containerDims,
                                         StrictDimension maxUsableSize,
                                         LayoutSupport support)
Calculates the minimum layout size for a band.
Parameters:
b - the band.
containerDims - the bounds of the surrounding container.
maxUsableSize -  
support - the layout support used to compute sizes.
Returns:
the minimum size.

preferredLayoutSize

public StrictDimension preferredLayoutSize(Band b,
                                           StrictDimension containerDims,
                                           StrictDimension maxUsableSize,
                                           LayoutSupport support)
Calculates the preferred layout size for a band.
Parameters:
b - the band.
containerDims - the bounds of the surrounding container.
maxUsableSize -  
support - the layout support used to compute sizes.
Returns:
the preferred size.