com.jgoodies.forms.layout

Interface FormLayout.Measure

public 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.

Since: 1.1

Method Summary
intsizeOf(Component component)
Computes and returns the size of the given Component.

Method Detail

sizeOf

public int sizeOf(Component component)
Computes and returns the size of the given Component.

Parameters: component the component to measure

Returns: the component's size

Copyright © 2002-2007 JGoodies Karsten Lentzsch. All Rights Reserved.