public interface Size
FormLayout: component measuring sizes, constant sizes with value and unit, and bounded sizes that provide lower and upper bounds for a size.
You can find a motivation for the different
Size types in
the Forms article that is part of the product documentation and that is
available online too, see
|Modifier and Type||Method and Description|
Computes and returns my maximum size applied to the given list of components using the specified measures.
int maximumSize(java.awt.Container container, java.util.List components, FormLayout.Measure minMeasure, FormLayout.Measure prefMeasure, FormLayout.Measure defaultMeasure)
FormSpec to determine
the size of a column or row. This method is not intended to be called
by API users, and it uses API invisible parameter types.
container- the layout container
components- the list of components used to compute the size
minMeasure- the measure that determines the minimum sizes
prefMeasure- the measure that determines the preferred sizes
defaultMeasure- the measure that determines the default sizes