|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.layout.AbstractBandLayoutManager
org.jfree.report.layout.CardLayoutBLayoutManager
A CardLayout object is a layout manager for a container. It treats each component in the container as a card. Only one card is visible at a time, and the container acts as a stack of cards. The first component added to a CardLayout object is the visible component when the container is first displayed.
The ordering of cards is determined by the container's own internal ordering of its component objects. CardLayout defines a set of methods that allow an application to flip through these cards sequentially, or to show a specified card. The CardLayout.addLayoutComponent method can be used to associate a string identifier with a given card for fast random access.
Field Summary |
Fields inherited from interface org.jfree.report.layout.BandLayoutManager |
LAYOUTMANAGER |
Constructor Summary | |
CardLayoutBLayoutManager()
Default constructor. |
Method Summary | |
void |
doLayout(Band b,
LayoutSupport layoutSupport)
Performs the layout of a band. |
void |
invalidateLayout(Band container)
Clears any cached items used by the layout manager. |
java.awt.geom.Dimension2D |
minimumLayoutSize(Band b,
java.awt.geom.Dimension2D containerDims,
LayoutSupport support)
Calculates the minimum layout size for a band. |
java.awt.geom.Dimension2D |
preferredLayoutSize(Band b,
java.awt.geom.Dimension2D containerDims,
LayoutSupport support)
Calculates the preferred layout size for a band. |
Methods inherited from class org.jfree.report.layout.AbstractBandLayoutManager |
align, computeMinimumSize, computePreferredSize, 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 |
public CardLayoutBLayoutManager()
Method Detail |
public java.awt.geom.Dimension2D minimumLayoutSize(Band b, java.awt.geom.Dimension2D containerDims, LayoutSupport support)
b
- the band.containerDims
- the bounds of the surrounding container.support
- the layout support used to compute sizes.
public java.awt.geom.Dimension2D preferredLayoutSize(Band b, java.awt.geom.Dimension2D containerDims, LayoutSupport support)
b
- the band.containerDims
- the bounds of the surrounding container.support
- the layout support used to compute sizes.
public void doLayout(Band b, LayoutSupport layoutSupport)
b
- the band.layoutSupport
- the layout support used to compute sizes.public void invalidateLayout(Band container)
container
- the container band.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |