Package ghidra.util.layout
Class ColumnLayout
java.lang.Object
ghidra.util.layout.ColumnLayout
- All Implemented Interfaces:
LayoutManager
This layout arranges components in columns, putting as many components as possible in a
column and using as many columns as necessary.
-
Constructor Summary
ConstructorDescriptionColumnLayout
(int hgap, int vgap, int preferredNumCols) Constructs a new ColumnLayout -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
ColumnLayout
public ColumnLayout(int hgap, int vgap, int preferredNumCols) Constructs a new ColumnLayout- Parameters:
hgap
- the gap (in pixels) between columnsvgap
- the gap (in pixels) between rowspreferredNumCols
- the prefered number of columns to use in the layout.
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
- See Also:
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
- See Also:
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- See Also:
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
- See Also:
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
- See Also:
-