com.jgoodies.forms.layout
Class FormLayout.PreferredWidthMeasure

java.lang.Object
  extended by com.jgoodies.forms.layout.FormLayout.CachingMeasure
      extended by com.jgoodies.forms.layout.FormLayout.PreferredWidthMeasure
All Implemented Interfaces:
FormLayout.Measure, java.io.Serializable
Enclosing class:
FormLayout

private static final class FormLayout.PreferredWidthMeasure
extends FormLayout.CachingMeasure

Measures a component by computing its preferred width.


Field Summary
 
Fields inherited from class com.jgoodies.forms.layout.FormLayout.CachingMeasure
cache
 
Constructor Summary
private FormLayout.PreferredWidthMeasure(FormLayout.ComponentSizeCache cache)
           
 
Method Summary
 int sizeOf(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormLayout.PreferredWidthMeasure

private FormLayout.PreferredWidthMeasure(FormLayout.ComponentSizeCache cache)
Method Detail

sizeOf

public int sizeOf(java.awt.Component c)