Class LCBLayout

    • Constructor Detail

      • LCBLayout

        public LCBLayout​(int maxrows)
        Creates a new LCBLayout with the specified maximum number of rows.
        Parameters:
        maxrows - the maximum number of rows.
    • Method Detail

      • preferredLayoutSize

        public Dimension preferredLayoutSize​(Container parent)
        Returns the preferred size using this layout manager.
        Specified by:
        preferredLayoutSize in interface LayoutManager
        Parameters:
        parent - the parent.
        Returns:
        the preferred size using this layout manager.
      • minimumLayoutSize

        public Dimension minimumLayoutSize​(Container parent)
        Returns the minimum size using this layout manager.
        Specified by:
        minimumLayoutSize in interface LayoutManager
        Parameters:
        parent - the parent.
        Returns:
        the minimum size using this layout manager.
      • 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.