Package com.jgoodies.forms.layout
Class FormLayout.CachingMeasure
- java.lang.Object
-
- com.jgoodies.forms.layout.FormLayout.CachingMeasure
-
- All Implemented Interfaces:
FormLayout.Measure
,java.io.Serializable
- Direct Known Subclasses:
FormLayout.MinimumHeightMeasure
,FormLayout.MinimumWidthMeasure
,FormLayout.PreferredHeightMeasure
,FormLayout.PreferredWidthMeasure
- Enclosing class:
- FormLayout
private abstract static class FormLayout.CachingMeasure extends java.lang.Object implements FormLayout.Measure, java.io.Serializable
An abstract implementation of theMeasure
interface that caches component sizes.
-
-
Field Summary
Fields Modifier and Type Field Description protected FormLayout.ComponentSizeCache
cache
Holds previously requested component sizes.
-
Constructor Summary
Constructors Modifier Constructor Description private
CachingMeasure(FormLayout.ComponentSizeCache cache)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jgoodies.forms.layout.FormLayout.Measure
sizeOf
-
-
-
-
Field Detail
-
cache
protected final FormLayout.ComponentSizeCache cache
Holds previously requested component sizes. Used to minimize size requests to subcomponents.
-
-
Constructor Detail
-
CachingMeasure
private CachingMeasure(FormLayout.ComponentSizeCache cache)
-
-