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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(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:
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:
-