org.bounce
Class ResizingFlowLayout

java.lang.Object
  extended by java.awt.FlowLayout
      extended by org.bounce.ResizingFlowLayout
All Implemented Interfaces:
LayoutManager, Serializable

public class ResizingFlowLayout
extends FlowLayout

Handles the lay out of the components on the Desktop...

Version:
$Revision$, $Date$
Author:
Edwin Dankert
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.FlowLayout
CENTER, LEADING, LEFT, RIGHT, TRAILING
 
Constructor Summary
ResizingFlowLayout()
           
ResizingFlowLayout(int arg0)
           
ResizingFlowLayout(int arg0, int arg1, int arg2)
           
 
Method Summary
 Dimension preferredLayoutSize(Container target)
          Returns the preferred size for the target.
 
Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, layoutContainer, minimumLayoutSize, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResizingFlowLayout

public ResizingFlowLayout()

ResizingFlowLayout

public ResizingFlowLayout(int arg0,
                          int arg1,
                          int arg2)

ResizingFlowLayout

public ResizingFlowLayout(int arg0)
Method Detail

preferredLayoutSize

public Dimension preferredLayoutSize(Container target)
Returns the preferred size for the target.

Specified by:
preferredLayoutSize in interface LayoutManager
Overrides:
preferredLayoutSize in class FlowLayout
Parameters:
target - the target container to get the size for.
Returns:
the preferred size of the container.


Copyright © 2002-2011 Edwin Dankert. All Rights Reserved.