|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alee.extended.layout.AbstractLayoutManager
com.alee.extended.layout.VerticalFlowLayout
public class VerticalFlowLayout
Field Summary | |
---|---|
protected int |
align
|
static int |
BOTTOM
|
protected boolean |
hfill
|
protected int |
hgap
|
static int |
MIDDLE
|
static int |
TOP
Description of the Field |
protected boolean |
vfill
|
protected int |
vgap
|
Constructor Summary | |
---|---|
VerticalFlowLayout()
Construct a new VerticalFlowLayout with a middle alignemnt, and the fill to edge flag set. |
|
VerticalFlowLayout(boolean hfill,
boolean vfill)
Construct a new VerticalFlowLayout with a middle alignemnt. |
|
VerticalFlowLayout(int align)
Construct a new VerticalFlowLayout with a middle alignemnt. |
|
VerticalFlowLayout(int align,
boolean hfill,
boolean vfill)
Construct a new VerticalFlowLayout. |
|
VerticalFlowLayout(int hgap,
int vgap)
Construct a new VerticalFlowLayout with a middle alignemnt. |
|
VerticalFlowLayout(int hgap,
int vgap,
boolean hfill,
boolean vfill)
Construct a new VerticalFlowLayout. |
|
VerticalFlowLayout(int align,
int hgap,
int vgap)
Construct a new VerticalFlowLayout with a middle alignemnt. |
|
VerticalFlowLayout(int align,
int hgap,
int vgap,
boolean hfill,
boolean vfill)
Construct a new VerticalFlowLayout. |
Method Summary | |
---|---|
protected int |
calculatePreferredHeight(java.awt.Container target)
Calculates preferred height required for components within this layout. |
int |
getHgap()
|
boolean |
getHorizontalFill()
Gets the HorizontalFill attribute of the VerticalLayout object |
boolean |
getVerticalFill()
Gets the VerticalFill attribute of the VerticalLayout object |
int |
getVgap()
|
void |
layoutContainer(java.awt.Container target)
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
|
void |
setHgap(int hgap)
|
void |
setHorizontalFill(boolean hfill)
Sets the HorizontalFill attribute of the VerticalLayout object |
void |
setVerticalFill(boolean vfill)
Sets the VerticalFill attribute of the VerticalLayout object |
void |
setVgap(int vgap)
|
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 |
---|
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
protected int align
protected int hgap
protected int vgap
protected boolean hfill
protected boolean vfill
Constructor Detail |
---|
public VerticalFlowLayout()
public VerticalFlowLayout(boolean hfill, boolean vfill)
public VerticalFlowLayout(int hgap, int vgap)
public VerticalFlowLayout(int align, int hgap, int vgap)
public VerticalFlowLayout(int align)
public VerticalFlowLayout(int align, boolean hfill, boolean vfill)
public VerticalFlowLayout(int hgap, int vgap, boolean hfill, boolean vfill)
public VerticalFlowLayout(int align, int hgap, int vgap, boolean hfill, boolean vfill)
Method Detail |
---|
public void setHgap(int hgap)
public void setVgap(int vgap)
public void setVerticalFill(boolean vfill)
public void setHorizontalFill(boolean hfill)
public int getHgap()
public int getVgap()
public boolean getVerticalFill()
public boolean getHorizontalFill()
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
in interface java.awt.LayoutManager
minimumLayoutSize
in class AbstractLayoutManager
public void layoutContainer(java.awt.Container target)
protected int calculatePreferredHeight(java.awt.Container target)
target
- container to calculate components preferred height for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |