| org.jfree.report.layout.BandLayoutManager
All known Subclasses: org.jfree.report.layout.StackedLayoutManager, org.jfree.report.layout.StaticLayoutManager,
BandLayoutManager | public interface BandLayoutManager (Code) | | 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: org.jfree.report.layout.StaticLayoutManager |
Method Summary | |
public void | doLayout(Band b, LayoutSupport support, ExpressionRuntime runtime) Performs the layout of a band. | public StrictDimension | minimumLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime) Calculates the minimum layout size for a band.
Parameters: b - the band. Parameters: containerDims - the bounds of the surrounding container. Parameters: maxUsableSize - Parameters: support - the layout support used to compute sizes. | public StrictDimension | preferredLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime) Calculates the preferred layout size for a band.
Parameters: b - the band. Parameters: containerDims - the bounds of the surrounding container. Parameters: maxUsableSize - the maximum size that can be granted by the surrounding container. Parameters: support - the layout support used to compute sizes. |
LAYOUTMANAGER | final public static StyleKey LAYOUTMANAGER(Code) | | The LayoutManager styleKey. All bands must define their LayoutManager by using this
key when using the PageableReportProcessor.
|
doLayout | public void doLayout(Band b, LayoutSupport support, ExpressionRuntime runtime)(Code) | | Performs the layout of a band.
Parameters: b - the band. Parameters: support - the layout support used to compute sizes. |
minimumLayoutSize | public StrictDimension minimumLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime)(Code) | | Calculates the minimum layout size for a band.
Parameters: b - the band. Parameters: containerDims - the bounds of the surrounding container. Parameters: maxUsableSize - Parameters: support - the layout support used to compute sizes. the minimum size. |
preferredLayoutSize | public StrictDimension preferredLayoutSize(Band b, StrictDimension containerDims, StrictDimension maxUsableSize, LayoutSupport support, ExpressionRuntime runtime)(Code) | | Calculates the preferred layout size for a band.
Parameters: b - the band. Parameters: containerDims - the bounds of the surrounding container. Parameters: maxUsableSize - the maximum size that can be granted by the surrounding container. Parameters: support - the layout support used to compute sizes. the preferred size. |
|
|