public class VerticalLayout extends Object implements LayoutManager
Modifier and Type | Field and Description |
---|---|
static int |
BOTH |
static int |
BOTTOM |
static int |
CENTER |
static int |
LEFT |
static int |
RIGHT |
static int |
TOP |
Constructor and Description |
---|
VerticalLayout() |
VerticalLayout(int vgap) |
VerticalLayout(int vgap,
int alignment) |
VerticalLayout(int vgap,
int alignment,
int anchor) |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(String name,
Component comp) |
void |
layoutContainer(Container parent) |
Dimension |
minimumLayoutSize(Container parent) |
Dimension |
preferredLayoutSize(Container parent) |
void |
removeLayoutComponent(Component comp) |
String |
toString() |
public static final int CENTER
public static final int RIGHT
public static final int LEFT
public static final int BOTH
public static final int TOP
public static final int BOTTOM
public VerticalLayout()
public VerticalLayout(int vgap)
public VerticalLayout(int vgap, int alignment)
public VerticalLayout(int vgap, int alignment, int anchor)
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager