Package ghidra.util.layout
Class VariableHeightPairLayout
- java.lang.Object
-
- ghidra.util.layout.VariableHeightPairLayout
-
- All Implemented Interfaces:
java.awt.LayoutManager
public class VariableHeightPairLayout extends java.lang.Object implements java.awt.LayoutManager
LayoutManger for arranging components into exactly two columns.
-
-
Constructor Summary
Constructors Constructor Description VariableHeightPairLayout()
Constructor for PairLayout.VariableHeightPairLayout(int vgap, int hgap)
Constructs a new PairLayout.VariableHeightPairLayout(int vgap, int hgap, int preferredWidth2)
Constructs a new PairLayout.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLayoutComponent(java.lang.String name, java.awt.Component comp)
void
layoutContainer(java.awt.Container parent)
java.awt.Dimension
minimumLayoutSize(java.awt.Container parent)
java.awt.Dimension
preferredLayoutSize(java.awt.Container parent)
void
removeLayoutComponent(java.awt.Component comp)
-
-
-
Constructor Detail
-
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 Detail
-
addLayoutComponent
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
- Specified by:
addLayoutComponent
in interfacejava.awt.LayoutManager
- See Also:
LayoutManager.addLayoutComponent(String, Component)
-
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interfacejava.awt.LayoutManager
- See Also:
LayoutManager.removeLayoutComponent(Component)
-
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize
in interfacejava.awt.LayoutManager
- See Also:
LayoutManager.preferredLayoutSize(Container)
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interfacejava.awt.LayoutManager
- See Also:
LayoutManager.minimumLayoutSize(Container)
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interfacejava.awt.LayoutManager
- See Also:
LayoutManager.layoutContainer(Container)
-
-