Package de.sciss.gui

Class StretchedGridLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager, java.io.Serializable

    public class StretchedGridLayout
    extends java.awt.GridLayout
    A variant of GridLayout that doesn't leave empty spaces at the bottom or right, because it properly stretches the widths and heights of the components over the available space
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void layoutContainer​(java.awt.Container parent)  
      • Methods inherited from class java.awt.GridLayout

        addLayoutComponent, getColumns, getHgap, getRows, getVgap, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setColumns, setHgap, setRows, setVgap, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StretchedGridLayout

        public StretchedGridLayout()
      • StretchedGridLayout

        public StretchedGridLayout​(int rows,
                                   int cols)
      • StretchedGridLayout

        public StretchedGridLayout​(int rows,
                                   int cols,
                                   int hgap,
                                   int vgap)
    • Method Detail

      • layoutContainer

        public void layoutContainer​(java.awt.Container parent)
        Specified by:
        layoutContainer in interface java.awt.LayoutManager
        Overrides:
        layoutContainer in class java.awt.GridLayout