Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.CardLayout

Availability: JDK 1.0

public class CardLayout extends Object implements LayoutManager2, Serializable {
   // Public Constructors
      public CardLayout();
      public CardLayout(int hgap, int vgap);
   // Public Instance Methods
1.1  public void addLayoutComponent(Component comp, Object constraints);
#    public void addLayoutComponent(String name, Component comp);
      public void first(Container parent);
1.1  public int getHgap();
1.1  public float getLayoutAlignmentX(Container parent);
1.1  public float getLayoutAlignmentY(Container parent);
1.1  public int getVgap();
1.1  public void invalidateLayout(Container target);
      public void last(Container parent);
      public void layoutContainer(Container parent);
1.1  public Dimension maximumLayoutSize(Container target);
      public Dimension minimumLayoutSize(Container parent);
      public void next(Container parent);
      public Dimension preferredLayoutSize(Container parent);
      public void previous(Container parent);
      public void removeLayoutComponent(Component comp);
1.1  public void setHgap(int hgap);
1.1  public void setVgap(int vgap);
      public void show(Container parent, String name);
      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.