Package ghidra.util.layout
Class ColumnLayout
- java.lang.Object
-
- ghidra.util.layout.ColumnLayout
-
- All Implemented Interfaces:
java.awt.LayoutManager
public class ColumnLayout extends java.lang.Object implements java.awt.LayoutManager
This layout arranges components in columns, putting as many components as possible in a column and using as many columns as necessary.
-
-
Constructor Summary
Constructors Constructor Description ColumnLayout(int hgap, int vgap, int preferredNumCols)
Constructs a new ColumnLayout
-
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)
-
-
-
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)
-
-