summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/ButtonGroup.h
blob: 68f383ac653d0dd40a5b5bf346ae70c288d021fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// 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__