Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.GridLayout

Availability: JDK 1.0

public class GridLayout extends Object implements LayoutManager, Serializable {
   // Public Constructors
1.1  public GridLayout();
      public GridLayout(int rows, int cols);
      public GridLayout(int rows, int cols, int hgap, int vgap);
   // Public Instance Methods
      public void addLayoutComponent(String name, Component comp);
1.1  public int getColumns();
1.1  public int getHgap();
1.1  public int getRows();
1.1  public int getVgap();
      public void layoutContainer(Container parent);
      public Dimension minimumLayoutSize(Container parent);
      public Dimension preferredLayoutSize(Container parent);
      public void removeLayoutComponent(Component comp);
1.1  public void setColumns(int cols);
1.1  public void setHgap(int hgap);
1.1  public void setRows(int rows);
1.1  public void setVgap(int vgap);
      public String toString();  // Overrides Object.toString()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.