Defines an interface for classes that know how to layout Containers based on a layout constraints object. This interface extends the LayoutManager interface to deal with layouts explicitly in terms of constraint objects that specify how and where components should be added to the layout.

This minimal extension to LayoutManager is intended for tool providers who wish to the creation of constraint-based layouts. It does not yet provide full, general support for custom constraint-based layout managers.

@version
1.14, 12/19/03
@author
Jonni Kanerva
Adds the specified component to the layout, using the specified constraint object.
Parameters
compthe component to be added
constraintswhere/how the component is added to the layout.
If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.
Parameters
namethe string to be associated with the component
compthe component to be added
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
Lays out the specified container.
Parameters
parentthe container to be laid out
Calculates the maximum size dimensions for the specified container, given the components it contains.
Calculates the minimum size dimensions for the specified container, given the components it contains.
Parameters
parentthe component to be laid out
Calculates the preferred size dimensions for the specified container, given the components it contains.
Parameters
parentthe container to be laid out
Removes the specified component from the layout.
Parameters
compthe component to be removed