org.pentaho.reporting.engine.classic.core.layout
Interface BandLayoutManager

All Known Implementing Classes:
StackedLayoutManager, StaticLayoutManager

Deprecated. This layout manager is no longer used.

public interface BandLayoutManager

An interface that defines the methods to be supported by a band layout manager.

See the AWT LayoutManager for the idea :)

Author:
Thomas Morgner
See Also:
StaticLayoutManager

Field Summary
static StyleKey LAYOUTMANAGER
          Deprecated. This style-key must no longer be used.
 
Method Summary
 void doLayout(Band b, LayoutSupport support, ExpressionRuntime runtime)
          Deprecated. Performs the layout of a band.
 StrictDimension minimumLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime)
          Deprecated. Calculates the minimum layout size for a band.
 StrictDimension preferredLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime)
          Deprecated. Calculates the preferred layout size for a band.
 

Field Detail

LAYOUTMANAGER

static final StyleKey LAYOUTMANAGER
Deprecated. This style-key must no longer be used.
The LayoutManager styleKey. All bands must define their LayoutManager by using this key when using the PageableReportProcessor.

Method Detail

preferredLayoutSize

StrictDimension preferredLayoutSize(Band b,
                                    StrictDimension containerDims,
                                    StrictDimension maxUsableSize,
                                    LayoutSupport support,
                                    ExpressionRuntime runtime)
Deprecated. 
Calculates the preferred layout size for a band.

Parameters:
b - the band.
containerDims - the bounds of the surrounding container.
maxUsableSize - the maximum size that can be granted by the surrounding container.
support - the layout support used to compute sizes.
Returns:
the preferred size.

minimumLayoutSize

StrictDimension minimumLayoutSize(Band b,
                                  StrictDimension containerDims,
                                  StrictDimension maxUsableSize,
                                  LayoutSupport support,
                                  ExpressionRuntime runtime)
Deprecated. 
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.

doLayout

void doLayout(Band b,
              LayoutSupport support,
              ExpressionRuntime runtime)
Deprecated. 
Performs the layout of a band.

Parameters:
b - the band.
support - the layout support used to compute sizes.