|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object that is responsible for arranging a collection of Block
s
within a BlockContainer
.
Method Summary | |
void |
add(Block block,
java.lang.Object key)
Adds a block and a key which can be used to determine the position of the block in the arrangement. |
Size2D |
arrange(BlockContainer container,
RectangleConstraint constraint,
java.awt.Graphics2D g2)
Arranges the blocks within the specified container, subject to the given constraint. |
void |
clear()
Clears any cached layout information retained by the arrangement. |
Method Detail |
public void add(Block block, java.lang.Object key)
block
- the block.key
- the key (null
permitted).public Size2D arrange(BlockContainer container, RectangleConstraint constraint, java.awt.Graphics2D g2)
container
- the container.constraint
- the constraint.g2
- the graphics device.public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |