Package xal.tools.apputils
Class VerticalLayout
java.lang.Object
xal.tools.apputils.VerticalLayout
- All Implemented Interfaces:
LayoutManager
The custom layout manager. This layout manager store components vertically
and provides width that is the maximal one among components.
- Version:
- 1.0
- Author:
- A. Shishlo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) static void
The main method of the application.minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
toString()
Returns the string that describes an instance.
-
Constructor Details
-
VerticalLayout
public VerticalLayout() -
VerticalLayout
public VerticalLayout(int v)
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-
toString
Returns the string that describes an instance. -
main
The main method of the application.
-