Package ghidra.util.layout
Class HorizontalLayout
java.lang.Object
ghidra.util.layout.HorizontalLayout
- All Implemented Interfaces:
LayoutManager
LayoutManager for arranging components in a single row. All components
retain their preferred widths, but are sized to the same height.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
HorizontalLayout
public HorizontalLayout(int hgap) Constructor for HorizontalLayout.- Parameters:
hgap
- gap (in pixels) between components.
-
-
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:
-