Package ghidra.util.layout
Class RightSidedSquishyBuddyLayout
- java.lang.Object
-
- ghidra.util.layout.RightSidedSquishyBuddyLayout
-
- All Implemented Interfaces:
java.awt.LayoutManager
,java.io.Serializable
public class RightSidedSquishyBuddyLayout extends java.lang.Object implements java.awt.LayoutManager, java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RightSidedSquishyBuddyLayout(int hGap)
RightSidedSquishyBuddyLayout(int hGap, boolean rightAlign)
-
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 container)
java.awt.Dimension
minimumLayoutSize(java.awt.Container cont)
java.awt.Dimension
preferredLayoutSize(java.awt.Container container)
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
-
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interfacejava.awt.LayoutManager
-
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container container)
- Specified by:
preferredLayoutSize
in interfacejava.awt.LayoutManager
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container cont)
- Specified by:
minimumLayoutSize
in interfacejava.awt.LayoutManager
-
layoutContainer
public void layoutContainer(java.awt.Container container)
- Specified by:
layoutContainer
in interfacejava.awt.LayoutManager
-
-