com.alee.extended.layout
Class WrapFlowLayout
java.lang.Object
com.alee.extended.layout.AbstractLayoutManager
com.alee.extended.layout.WrapFlowLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, javax.swing.SwingConstants
public class WrapFlowLayout
- extends AbstractLayoutManager
- implements javax.swing.SwingConstants
User: mgarin Date: 07.10.11 Time: 15:14
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fitWidth
protected boolean fitWidth
fillWidth
protected boolean fillWidth
hgap
protected int hgap
vgap
protected int vgap
halign
protected int halign
valign
protected int valign
wrapEachComponent
protected boolean wrapEachComponent
maxWidth
protected int maxWidth
maxHeight
protected int maxHeight
rowsData
protected java.util.ArrayList<RowData> rowsData
WrapFlowLayout
public WrapFlowLayout()
WrapFlowLayout
public WrapFlowLayout(boolean fillWidth)
WrapFlowLayout
public WrapFlowLayout(int hgap,
int vgap)
WrapFlowLayout
public WrapFlowLayout(boolean fillWidth,
int hgap,
int vgap)
isFitWidth
public boolean isFitWidth()
setFitWidth
public void setFitWidth(boolean fitWidth)
isFillWidth
public boolean isFillWidth()
setFillWidth
public void setFillWidth(boolean fillWidth)
getHgap
public int getHgap()
setHgap
public void setHgap(int hgap)
getVgap
public int getVgap()
setVgap
public void setVgap(int vgap)
getHalign
public int getHalign()
setHalign
public void setHalign(int halign)
getValign
public int getValign()
setValign
public void setValign(int valign)
isWrapEachComponent
public boolean isWrapEachComponent()
setWrapEachComponent
public void setWrapEachComponent(boolean wrapEachComponent)
getMaxWidth
public int getMaxWidth()
getMaxHeight
public int getMaxHeight()
getRowsData
public java.util.ArrayList<RowData> getRowsData()
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
-
- Specified by:
preferredLayoutSize
in interface java.awt.LayoutManager
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)
-
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
getStartX
protected int getStartX(java.awt.Container parent,
java.awt.Insets insets,
RowData row)
getStartY
protected int getStartY(java.awt.Container parent,
java.awt.Insets insets)