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

#ifndef __javax_swing_ButtonGroup__
#define __javax_swing_ButtonGroup__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace javax
  {
    namespace swing
    {
        class AbstractButton;
        class ButtonGroup;
        class ButtonModel;
    }
  }
}

class javax::swing::ButtonGroup : public ::java::lang::Object
{

public:
  ButtonGroup();
  virtual void add(::javax::swing::AbstractButton *);
  virtual void remove(::javax::swing::AbstractButton *);
  virtual ::java::util::Enumeration * getElements();
  virtual ::javax::swing::ButtonModel * getSelection();
public: // actually package-private
  virtual ::javax::swing::AbstractButton * findButton(::javax::swing::ButtonModel *);
public:
  virtual void setSelected(::javax::swing::ButtonModel *, jboolean);
  virtual jboolean isSelected(::javax::swing::ButtonModel *);
  virtual jint getButtonCount();
private:
  static const jlong serialVersionUID = 4259076101881721375LL;
public: // actually protected
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buttons;
public: // actually package-private
  ::javax::swing::ButtonModel * sel;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_ButtonGroup__
