Package net.mcreator.ui.component.util
Class AdaptiveGridLayout
java.lang.Object
net.mcreator.ui.component.util.AdaptiveGridLayout
- All Implemented Interfaces:
LayoutManager
-
Constructor Summary
ConstructorDescriptionAdaptiveGridLayout
(int rows, int cols) AdaptiveGridLayout
(int rows, int cols, int hgap, int vgap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
AdaptiveGridLayout
public AdaptiveGridLayout(int rows, int cols) -
AdaptiveGridLayout
public AdaptiveGridLayout(int rows, int cols, int hgap, int vgap)
-
-
Method Details
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-