// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_GridLayout__
#define __java_awt_GridLayout__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class GridLayout;
      class Dimension;
      class Container;
      class Component;
    }
  }
};

class ::java::awt::GridLayout : public ::java::lang::Object
{
public:
  virtual void addLayoutComponent (::java::lang::String *, ::java::awt::Component *) { }
  virtual jint getColumns () { return cols; }
  virtual jint getHgap () { return hgap; }
  virtual jint getRows () { return rows; }
  virtual jint getVgap () { return vgap; }
  GridLayout ();
  GridLayout (jint, jint);
  GridLayout (jint, jint, jint, jint);
  virtual void layoutContainer (::java::awt::Container *);
  virtual ::java::awt::Dimension *minimumLayoutSize (::java::awt::Container *);
  virtual ::java::awt::Dimension *preferredLayoutSize (::java::awt::Container *);
  virtual void removeLayoutComponent (::java::awt::Component *) { }
  virtual void setColumns (jint);
  virtual void setHgap (jint);
  virtual void setRows (jint);
  virtual void setVgap (jint);
  virtual ::java::lang::String *toString ();
private:
  ::java::awt::Dimension *getSize (::java::awt::Container *, jboolean);
  jint cols;
  jint rows;
  jint hgap;
  jint vgap;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_awt_GridLayout__ */
