| com.jgoodies.forms.layout.Size
All known Subclasses: com.jgoodies.forms.layout.BoundedSize, com.jgoodies.forms.layout.ConstantSize,
Size | public interface Size (Code) | | An interface that describes sizes as used by the
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 whitepaper that is part of the product documentation and that is
available online too, see
http://www.jgoodies.com/articles/forms.pdf.
author: Karsten Lentzsch version: $Revision: 1.4 $ See Also: Sizes See Also: ConstantSize |
compressible | boolean compressible()(Code) | | Describes if this Size can be compressed, if container space gets scarce.
Used by the FormLayout size computations in #compressedSizes
to check whether a column or row can be compressed or not.
The ComponentSize default is compressible, as well as
BoundedSizes that are based on the default size.
true for compressible Sizes since: 1.1 |
maximumSize | int maximumSize(Container container, List components, FormLayout.Measure minMeasure, FormLayout.Measure prefMeasure, FormLayout.Measure defaultMeasure)(Code) | | Computes and returns this Size's maximum pixel size applied to
the given list of components using the specified measures.
Invoked by
com.jgoodies.forms.layout.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.
Parameters: container - the layout container Parameters: components - the list of components used to compute the size Parameters: minMeasure - the measure that determines the minimum sizes Parameters: prefMeasure - the measure that determines the preferred sizes Parameters: defaultMeasure - the measure that determines the default sizes the maximum size in pixels for the given list of components |
|
|