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

#ifndef __javax_swing_BoxLayout__
#define __javax_swing_BoxLayout__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      class BoxLayout;
      class JComponent;
    }
  }
  namespace java
  {
    namespace awt
    {
      class Dimension;
      class Container;
      class Component;
      class GridLayout;
    }
  }
};

class ::javax::swing::BoxLayout : public ::java::lang::Object
{
public: // actually package-private
  BoxLayout (::javax::swing::JComponent *, jint);
  BoxLayout (jint);
public:
  virtual void addLayoutComponent (::java::lang::String *, ::java::awt::Component *);
  virtual void removeLayoutComponent (::java::awt::Component *);
  virtual ::java::awt::Dimension *preferredLayoutSize (::java::awt::Container *);
  virtual ::java::awt::Dimension *minimumLayoutSize (::java::awt::Container *);
  virtual void layoutContainer (::java::awt::Container *);
  virtual void addLayoutComponent (::java::awt::Component *, ::java::lang::Object *);
  virtual jfloat getLayoutAlignmentX (::java::awt::Container *);
  virtual jfloat getLayoutAlignmentY (::java::awt::Container *);
  virtual void invalidateLayout (::java::awt::Container *) { }
  virtual ::java::awt::Dimension *maximumLayoutSize (::java::awt::Container *);
public: // actually package-private
  ::java::awt::GridLayout * __attribute__((aligned(__alignof__( ::java::lang::Object )))) gridbag;
  static const jint X_AXIS = 0L;
  static const jint Y_AXIS = 1L;
  jint way;
public:

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

#endif /* __javax_swing_BoxLayout__ */
