java.awt
public interface LayoutManager2 extends LayoutManager
Since: 1.0
See Also: LayoutManager Container
UNKNOWN: updated to 1.4
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.
|
Parameters: component the component to add constraints the constraints to satisfy
Parameters: target the target container
Returns: the x-axis alignment preference
Parameters: target the target container
Returns: the y-axis alignment preference
Parameters: target the target container
Parameters: target the container to lay out
Returns: the maximum size of the container
See Also: getMaximumSize