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 TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(Container parent) static voidThe main method of the application.minimumLayoutSize(Container parent) preferredLayoutSize(Container parent) voidtoString()Returns the string that describes an instance.
-
Constructor Details
-
VerticalLayout
public VerticalLayout() -
VerticalLayout
public VerticalLayout(int v)
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-
toString
Returns the string that describes an instance. -
main
The main method of the application.
-