Package ghidra.util.layout
Class VariableRowHeightGridLayout
- java.lang.Object
-
- ghidra.util.layout.VariableRowHeightGridLayout
-
- All Implemented Interfaces:
java.awt.LayoutManager
public class VariableRowHeightGridLayout extends java.lang.Object implements java.awt.LayoutManager
-
-
Constructor Summary
Constructors Constructor Description VariableRowHeightGridLayout(int columnCount)
VariableRowHeightGridLayout(int vgap, int hgap, int columnCount)
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
-
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 Detail
-
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize
in interfacejava.awt.LayoutManager
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interfacejava.awt.LayoutManager
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interfacejava.awt.LayoutManager
-
addLayoutComponent
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
- Specified by:
addLayoutComponent
in interfacejava.awt.LayoutManager
-
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interfacejava.awt.LayoutManager
-
-