public class VerticalFlowLayout
extends java.awt.FlowLayout
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
VerticalFlowLayout.VerticalFlowAlignment |
Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM |
static int |
MIDDLE |
static int |
TOP |
Constructor and Description |
---|
VerticalFlowLayout() |
VerticalFlowLayout(boolean fillHorizontally,
boolean fillVertically) |
VerticalFlowLayout(int alignment) |
VerticalFlowLayout(int alignment,
boolean fillHorizontally,
boolean fillVertically) |
VerticalFlowLayout(int hGap,
int vGap) |
VerticalFlowLayout(int alignment,
int hGap,
int vGap,
boolean fillHorizontally,
boolean fillVertically) |
Modifier and Type | Method and Description |
---|---|
boolean |
getHorizontalFill() |
boolean |
getVerticalFill() |
void |
layoutContainer(java.awt.Container container) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container container) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container container) |
void |
setHorizontalFill(boolean flag) |
void |
setVerticalFill(boolean flag) |
public static final int BOTTOM
public static final int MIDDLE
public static final int TOP
public VerticalFlowLayout()
public VerticalFlowLayout(int alignment)
public VerticalFlowLayout(boolean fillHorizontally, boolean fillVertically)
public VerticalFlowLayout(int alignment, boolean fillHorizontally, boolean fillVertically)
public VerticalFlowLayout(int hGap, int vGap)
public VerticalFlowLayout(int alignment, int hGap, int vGap, boolean fillHorizontally, boolean fillVertically)
public void layoutContainer(java.awt.Container container)
layoutContainer
in interface java.awt.LayoutManager
layoutContainer
in class java.awt.FlowLayout
public boolean getHorizontalFill()
public void setHorizontalFill(boolean flag)
public boolean getVerticalFill()
public void setVerticalFill(boolean flag)
public java.awt.Dimension minimumLayoutSize(java.awt.Container container)
minimumLayoutSize
in interface java.awt.LayoutManager
minimumLayoutSize
in class java.awt.FlowLayout
public java.awt.Dimension preferredLayoutSize(java.awt.Container container)
preferredLayoutSize
in interface java.awt.LayoutManager
preferredLayoutSize
in class java.awt.FlowLayout