Class FixedCompSizeGridLayout
java.lang.Object
org.jjazz.uiutilities.api.FixedCompSizeGridLayout
- All Implemented Interfaces:
LayoutManager
Layout components in a grid with fixed-size components on a fixed nb of columns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(Container parent) minimumLayoutSize(Container parent) preferredLayoutSize(Container parent) void
-
Constructor Details
-
FixedCompSizeGridLayout
- Parameters:
nbCols- Number of columnscompSize- Size used to layout all components
-
-
Method Details
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-