Package com.jgoodies.forms.layout
Class FormLayout.PreferredHeightMeasure
- java.lang.Object
-
- com.jgoodies.forms.layout.FormLayout.CachingMeasure
-
- com.jgoodies.forms.layout.FormLayout.PreferredHeightMeasure
-
- All Implemented Interfaces:
FormLayout.Measure
,java.io.Serializable
- Enclosing class:
- FormLayout
private static final class FormLayout.PreferredHeightMeasure extends FormLayout.CachingMeasure
Measures a component by computing its preferred height.
-
-
Field Summary
-
Fields inherited from class com.jgoodies.forms.layout.FormLayout.CachingMeasure
cache
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PreferredHeightMeasure(FormLayout.ComponentSizeCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
sizeOf(java.awt.Component c)
Computes and returns the size of the givenComponent
.
-
-
-
Constructor Detail
-
PreferredHeightMeasure
private PreferredHeightMeasure(FormLayout.ComponentSizeCache cache)
-
-
Method Detail
-
sizeOf
public int sizeOf(java.awt.Component c)
Description copied from interface:FormLayout.Measure
Computes and returns the size of the givenComponent
.- Parameters:
c
- the component to measure- Returns:
- the component's size
-
-