public class VerticalFlowLayout extends Object implements LayoutManager
Constructor and Description |
---|
VerticalFlowLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(String name,
Component comp) |
int |
getVgap()
Gets the vertical gap between components.
|
void |
layoutContainer(Container parent) |
Dimension |
minimumLayoutSize(Container parent) |
Dimension |
preferredLayoutSize(Container parent) |
void |
removeLayoutComponent(Component comp) |
void |
setVgap(int vgap)
Sets the vertical gap between components to the specified value.
|
public int getVgap()
public void setVgap(int vgap)
vgap
- the vertical gap between componentspublic void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
Copyright © 2002-2015 Atlassian. All Rights Reserved.