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
ConstructorsConstructorDescriptionRightSidedSquishyBuddyLayout(int hGap) RightSidedSquishyBuddyLayout(int hGap, boolean rightAlign) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(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:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-