Class CenterLayout

    • Constructor Detail

      • CenterLayout

        public CenterLayout()
        Creates a new layout manager.
    • Method Detail

      • layoutContainer

        public void layoutContainer​(Container parent)
        Lays out the components.
        Specified by:
        layoutContainer in interface LayoutManager
        Parameters:
        parent - the parent.
      • addLayoutComponent

        public void addLayoutComponent​(Component comp)
        Not used.
        Parameters:
        comp - the component.
      • removeLayoutComponent

        public void removeLayoutComponent​(String name,
                                          Component comp)
        Not used.
        Parameters:
        name - the component name.
        comp - the component.