Package ghidra.util.layout
Class VariableRowHeightGridLayout
java.lang.Object
ghidra.util.layout.VariableRowHeightGridLayout
- All Implemented Interfaces:
LayoutManager
-
Constructor Summary
ConstructorDescriptionVariableRowHeightGridLayout
(int columnCount) VariableRowHeightGridLayout
(int vgap, int hgap, int columnCount) Constructs a new PairLayout. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
VariableRowHeightGridLayout
public VariableRowHeightGridLayout(int columnCount) -
VariableRowHeightGridLayout
public VariableRowHeightGridLayout(int vgap, int hgap, int columnCount) Constructs a new PairLayout.- Parameters:
vgap
- the gap (in pixels) between rows.hgap
- the gap (in pixels) between the two columns.columnCount
- the number of columns in this grid
-
-
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
-