Package org.jdesktop.swingx
Class VerticalLayout
- java.lang.Object
-
- org.jdesktop.swingx.VerticalLayout
-
- All Implemented Interfaces:
LayoutManager
- Direct Known Subclasses:
BasicTaskPaneContainerUI.VerticalLayoutUIResource
public class VerticalLayout extends Object implements LayoutManager
Organizes components in a vertical layout.- Author:
- fred
-
-
Constructor Summary
Constructors Constructor Description VerticalLayout()
VerticalLayout(int gap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLayoutComponent(String name, Component c)
int
getGap()
void
layoutContainer(Container parent)
Dimension
minimumLayoutSize(Container parent)
Dimension
preferredLayoutSize(Container parent)
void
removeLayoutComponent(Component c)
void
setGap(int gap)
-
-
-
Method Detail
-
getGap
public int getGap()
-
setGap
public void setGap(int gap)
-
addLayoutComponent
public void addLayoutComponent(String name, Component c)
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer
in interfaceLayoutManager
-
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
removeLayoutComponent
public void removeLayoutComponent(Component c)
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
-