|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutManager2
Layout manager for laying out containers based on contraints. The constraints control how the layout will proceed.
LayoutManager
,
Container
Method Summary | |
---|---|
void |
addLayoutComponent(Component component,
Object constraints)
Adds the specified component to the layout, with the specified constraints object. |
float |
getLayoutAlignmentX(Container target)
Returns the preferred X axis alignment for the specified target container. |
float |
getLayoutAlignmentY(Container target)
Returns the preferred Y axis alignment for the specified target container. |
void |
invalidateLayout(Container target)
Forces the layout manager to purge any cached information about the layout of the target container. |
Dimension |
maximumLayoutSize(Container target)
Determines the maximum size of the specified target container. |
Methods inherited from interface java.awt.LayoutManager |
---|
addLayoutComponent, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
Method Detail |
---|
void addLayoutComponent(Component component, Object constraints)
component
- the component to addconstraints
- the constraints to satisfyDimension maximumLayoutSize(Container target)
target
- the container to lay out
Component.getMaximumSize()
float getLayoutAlignmentX(Container target)
target
- the target container
float getLayoutAlignmentY(Container target)
target
- the target container
void invalidateLayout(Container target)
target
- the target container
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |