net.sf.simplelayout.helpers
Class MinimumDimensionDeterminer

java.lang.Object
  extended by net.sf.simplelayout.helpers.MinimumDimensionDeterminer
All Implemented Interfaces:
DimensionDeterminer

public class MinimumDimensionDeterminer
extends java.lang.Object
implements DimensionDeterminer

Determines the minimum dimension of a component.

Author:
Claus Radloff

Field Summary
static MinimumDimensionDeterminer DETERMINER
          Instance of MinimumDimensionDeterminer
 
Constructor Summary
MinimumDimensionDeterminer()
           
 
Method Summary
 java.awt.Dimension getDimension(java.awt.Component c)
          Returns the minimum dimension of the component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETERMINER

public static final MinimumDimensionDeterminer DETERMINER
Instance of MinimumDimensionDeterminer

Constructor Detail

MinimumDimensionDeterminer

public MinimumDimensionDeterminer()
Method Detail

getDimension

public java.awt.Dimension getDimension(java.awt.Component c)
Returns the minimum dimension of the component

Specified by:
getDimension in interface DimensionDeterminer
Parameters:
c - the component
Returns:
the dimension
See Also:
DimensionDeterminer.getDimension(java.awt.Component)