com.jgoodies.forms.layout
Class FormLayout.CachingMeasure

java.lang.Object
  extended by 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 the Measure interface that caches component sizes.


Field Summary
protected  FormLayout.ComponentSizeCache cache
          Holds previously requested component sizes.
 
Constructor Summary
private FormLayout.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

FormLayout.CachingMeasure

private FormLayout.CachingMeasure(FormLayout.ComponentSizeCache cache)