Package ghidra.util.layout
Class RightSidedSquishyBuddyLayout
java.lang.Object
ghidra.util.layout.RightSidedSquishyBuddyLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
Layout for two components laid out horizontally where the first component gets its preferred width
and the second component gets the remaining space up to its preferred width.
- See Also:
-
Constructor Summary
ConstructorDescriptionRightSidedSquishyBuddyLayout
(int hGap) RightSidedSquishyBuddyLayout
(int hGap, boolean rightAlign) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container container) minimumLayoutSize
(Container cont) preferredLayoutSize
(Container container) void
-
Constructor Details
-
RightSidedSquishyBuddyLayout
public RightSidedSquishyBuddyLayout(int hGap) -
RightSidedSquishyBuddyLayout
public RightSidedSquishyBuddyLayout(int hGap, boolean rightAlign)
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-