Package ghidra.util.layout
Class VariableHeightPairLayout
java.lang.Object
ghidra.util.layout.VariableHeightPairLayout
- All Implemented Interfaces:
LayoutManager
LayoutManger for arranging components into exactly two columns.
-
Constructor Summary
ConstructorDescriptionConstructor for PairLayout.VariableHeightPairLayout
(int vgap, int hgap) Constructs a new PairLayout.VariableHeightPairLayout
(int vgap, int hgap, int preferredWidth2) 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
-
VariableHeightPairLayout
public VariableHeightPairLayout()Constructor for PairLayout. -
VariableHeightPairLayout
public VariableHeightPairLayout(int vgap, int hgap) Constructs a new PairLayout.- Parameters:
vgap
- the gap (in pixels) between rows.hgap
- the gap (in pixels) between the two columns.
-
VariableHeightPairLayout
public VariableHeightPairLayout(int vgap, int hgap, int preferredWidth2) Constructs a new PairLayout.- Parameters:
vgap
- the gap (in pixels) between rows.hgap
- the gap (in pixels) between the two columns.preferredWidth2
- specifies the preferred width of the second column.
-
-
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:
-