Package ghidra.util.layout
Class RowLayout
java.lang.Object
ghidra.util.layout.RowLayout
- All Implemented Interfaces:
LayoutManager
This layout arranges components in rows, putting as many components as possible on a
row and using as many rows as necessary.
-
Constructor Summary
ConstructorDescriptionRowLayout
(int hgap, int vgap, int preferredNumRows) Constructs a new RowLayout -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
RowLayout
public RowLayout(int hgap, int vgap, int preferredNumRows) Constructs a new RowLayout- Parameters:
hgap
- the gap (in pixels) between columnsvgap
- the gap (in pixels) between rowspreferredNumRows
- the prefered number of rows 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:
-