com.jgoodies.forms.layout
Interface FormLayout.Measure
- All Known Implementing Classes:
- FormLayout.CachingMeasure, FormLayout.MinimumHeightMeasure, FormLayout.MinimumWidthMeasure, FormLayout.PreferredHeightMeasure, FormLayout.PreferredWidthMeasure
- Enclosing class:
- FormLayout
static interface FormLayout.Measure
An interface that describes how to measure a Component
.
Used to abstract from horizontal and vertical dimensions as well as
minimum and preferred sizes.
Method Summary |
int |
sizeOf(java.awt.Component component)
Computes and returns the size of the given Component . |
sizeOf
int sizeOf(java.awt.Component component)
- Computes and returns the size of the given
Component
.
- Parameters:
component
- the component to measure
- Returns:
- the component's size