com.alee.extended.layout
Class HorizontalFlowLayout

java.lang.Object
  extended by com.alee.extended.layout.AbstractLayoutManager
      extended by com.alee.extended.layout.HorizontalFlowLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public class HorizontalFlowLayout
extends AbstractLayoutManager

User: mgarin Date: 06.05.11 Time: 15:17


Field Summary
protected  boolean fillLast
           
protected  int horizGap
           
 
Constructor Summary
HorizontalFlowLayout()
           
HorizontalFlowLayout(int gap)
           
HorizontalFlowLayout(int gap, boolean fillLast)
           
 
Method Summary
 int getHorizontalGap()
           
protected  java.awt.Dimension getLayoutSize(java.awt.Container parent, boolean min)
           
 void layoutContainer(java.awt.Container parent)
          
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          
 
Methods inherited from class com.alee.extended.layout.AbstractLayoutManager
addComponent, addLayoutComponent, addLayoutComponent, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, maximumLayoutSize, removeComponent, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

horizGap

protected int horizGap

fillLast

protected boolean fillLast
Constructor Detail

HorizontalFlowLayout

public HorizontalFlowLayout()

HorizontalFlowLayout

public HorizontalFlowLayout(int gap)

HorizontalFlowLayout

public HorizontalFlowLayout(int gap,
                            boolean fillLast)
Method Detail

getHorizontalGap

public int getHorizontalGap()

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)


minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
Overrides:
minimumLayoutSize in class AbstractLayoutManager

layoutContainer

public void layoutContainer(java.awt.Container parent)


getLayoutSize

protected java.awt.Dimension getLayoutSize(java.awt.Container parent,
                                           boolean min)