Package ghidra.util.layout
Class MiddleLayout
- java.lang.Object
-
- ghidra.util.layout.MiddleLayout
-
- All Implemented Interfaces:
java.awt.LayoutManager
,java.io.Serializable
public class MiddleLayout extends java.lang.Object implements java.awt.LayoutManager, java.io.Serializable
Puts the first child of the given component in the middle of the component, both vertically and horizontally.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MiddleLayout()
-
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
-
-