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
ConstructorsConstructorDescriptionConstructor 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 TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(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:
addLayoutComponentin interfaceLayoutManager- See Also:
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager- See Also:
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager- See Also:
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager- See Also:
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager- See Also:
-