|
||||||||||
| 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)
Performs the layout of a band. |
LayoutSupport |
getLayoutSupport()
Returns the output target for the layout manager. |
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)
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 |
setLayoutSupport(LayoutSupport target)
Sets the output target for the layout manager. |
| Field Detail |
public static final StyleKey LAYOUTMANAGER
| 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 containerDims)
b - the band.containerDims - the bounds of the surrounding container.
public void doLayout(Band b)
b - the band.public void setLayoutSupport(LayoutSupport target)
target - the target.public LayoutSupport getLayoutSupport()
public void invalidateLayout(Band container)
container - the container.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||