|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that defines the methods to be supported by a band layout manager.
See the AWT LayoutManager for the idea :)
StaticLayoutManager
Field Summary | |
static StyleKey |
LAYOUTMANAGER
The LayoutManager styleKey. |
Method Summary | |
void |
doLayout(Band b,
LayoutSupport support)
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. |
Field Detail |
public static final StyleKey LAYOUTMANAGER
Method Detail |
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 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 void doLayout(Band b, LayoutSupport support)
b
- the band.support
- the layout support used to compute sizes.public void invalidateLayout(Band container)
container
- the container.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |