public interface Layout
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Dimension2D |
getPreferredSize(Container container)
Returns the preferred size of the specified container using this layout.
|
void |
layout(Container container)
Arranges the components of the specified container according to this
layout.
|
void layout(Container container)
container
- Container to be laid out.java.awt.geom.Dimension2D getPreferredSize(Container container)
container
- Container whose preferred size is to be returned.