Package ghidra.util.layout

# Class MiddleLayout

java.lang.Object
ghidra.util.layout.MiddleLayout

All Implemented Interfaces:
  `LayoutManager`, `Serializable`

public class MiddleLayout extends Object implements LayoutManager, 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

  Modifier and Type
  Method
  Description
  `void`
  `addLayoutComponent(String name, Component comp)`
  `void`
  `layoutContainer(Container container)`
  `Dimension`
  `minimumLayoutSize(Container cont)`
  `Dimension`
  `preferredLayoutSize(Container container)`
  `void`
  `removeLayoutComponent(Component comp)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MiddleLayout

    public MiddleLayout()

- ## Method Details

  - ### addLayoutComponent

    public void addLayoutComponent(String name, Component comp)
    Specified by:
      `addLayoutComponent` in interface `LayoutManager`

  - ### removeLayoutComponent

    public void removeLayoutComponent(Component comp)
    Specified by:
      `removeLayoutComponent` in interface `LayoutManager`

  - ### preferredLayoutSize

    public Dimension preferredLayoutSize(Container container)
    Specified by:
      `preferredLayoutSize` in interface `LayoutManager`

  - ### minimumLayoutSize

    public Dimension minimumLayoutSize(Container cont)
    Specified by:
      `minimumLayoutSize` in interface `LayoutManager`

  - ### layoutContainer

    public void layoutContainer(Container container)
    Specified by:
      `layoutContainer` in interface `LayoutManager`