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