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 voidaddLayoutComponent(String name, Component c)intgetGap()voidlayoutContainer(Container parent)DimensionminimumLayoutSize(Container parent)DimensionpreferredLayoutSize(Container parent)voidremoveLayoutComponent(Component c)voidsetGap(int gap)
-
-
-
Method Detail
-
getGap
public int getGap()
-
setGap
public void setGap(int gap)
-
addLayoutComponent
public void addLayoutComponent(String name, Component c)
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainerin interfaceLayoutManager
-
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
removeLayoutComponent
public void removeLayoutComponent(Component c)
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
-