|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.base.bandlayout.AbstractBandLayoutManager
com.jrefinery.report.targets.base.bandlayout.GridBLayoutManager
A layout manager.
Field Summary |
Fields inherited from interface com.jrefinery.report.targets.base.bandlayout.BandLayoutManager |
LAYOUTMANAGER |
Constructor Summary | |
GridBLayoutManager()
Default constructor. |
Method Summary | |
void |
addLayoutElement(Element e)
Adds the specified component to the layout, the specified constraints are stored in the elements style sheet. |
void |
doLayout(Band b)
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 containerBounds)
Calculates the minimum layout size for a band. |
java.awt.geom.Dimension2D |
preferredLayoutSize(Band b,
java.awt.geom.Dimension2D containerDims)
Calculates the preferred layout size for a band. |
void |
removeLayoutElement(Element e)
Removed the specified component from the layout. |
Methods inherited from class com.jrefinery.report.targets.base.bandlayout.AbstractBandLayoutManager |
align, correctDimension, correctPoint, createLayoutInfoForDynamics, createLayoutInformationForMinimumSize, createLayoutInformationForPreferredSize, getElementContentBounds, getLayoutSupport, getMinimumSize, getPreferredSize, isElementStaticHeight, isElementStaticWidth, setLayoutSupport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridBLayoutManager()
Method Detail |
public java.awt.geom.Dimension2D preferredLayoutSize(Band b, java.awt.geom.Dimension2D containerDims)
b
- the band.containerDims
- the bounds of the surrounding container.
public java.awt.geom.Dimension2D minimumLayoutSize(Band b, java.awt.geom.Dimension2D containerBounds)
b
- the band.containerBounds
- the bounds of the surrounding container.
public void doLayout(Band b)
b
- the band.public void invalidateLayout(Band container)
container
- the container.public void addLayoutElement(Element e)
e
- the element to be added to the layout manager.public void removeLayoutElement(Element e)
e
- the element to be removed from the layout manager.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |