public class VerticalFlowLayout
extends java.awt.FlowLayout
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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 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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
protected void |
placeThem(java.awt.Container target,
int x,
int y,
int width,
int height,
int first,
int last)
places the components defined by first to last within the target container using the bounds box defined
|
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) |
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
protected int hgap
protected int vgap
protected boolean hfill
protected boolean vfill
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 align,
int hgap,
int vgap,
boolean hfill,
boolean vfill)
public void setHgap(int hgap)
setHgap in class java.awt.FlowLayoutpublic void setVgap(int vgap)
setVgap in class java.awt.FlowLayoutpublic void setVerticalFill(boolean vfill)
public void setHorizontalFill(boolean hfill)
public int getHgap()
getHgap in class java.awt.FlowLayoutpublic int getVgap()
getVgap in class java.awt.FlowLayoutpublic boolean getVerticalFill()
public boolean getHorizontalFill()
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize in interface java.awt.LayoutManagerpreferredLayoutSize in class java.awt.FlowLayoutpublic java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize in interface java.awt.LayoutManagerminimumLayoutSize in class java.awt.FlowLayoutpublic void layoutContainer(java.awt.Container target)
layoutContainer in interface java.awt.LayoutManagerlayoutContainer in class java.awt.FlowLayoutprotected void placeThem(java.awt.Container target,
int x,
int y,
int width,
int height,
int first,
int last)