summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/ButtonModel.h
blob: 5f137a654baf1c0568d3de5e1cea195ee3ca0f22 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_ButtonModel__
#define __javax_swing_ButtonModel__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace event
      {
          class ActionListener;
          class ItemListener;
      }
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ButtonGroup;
        class ButtonModel;
      namespace event
      {
          class ChangeListener;
      }
    }
  }
}

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

public:
  virtual jboolean isArmed() = 0;
  virtual void setArmed(jboolean) = 0;
  virtual jboolean isEnabled() = 0;
  virtual void setEnabled(jboolean) = 0;
  virtual void setPressed(jboolean) = 0;
  virtual jboolean isPressed() = 0;
  virtual void removeActionListener(::java::awt::event::ActionListener *) = 0;
  virtual void addActionListener(::java::awt::event::ActionListener *) = 0;
  virtual void addItemListener(::java::awt::event::ItemListener *) = 0;
  virtual void removeItemListener(::java::awt::event::ItemListener *) = 0;
  virtual void addChangeListener(::javax::swing::event::ChangeListener *) = 0;
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *) = 0;
  virtual void setRollover(jboolean) = 0;
  virtual jboolean isRollover() = 0;
  virtual jint getMnemonic() = 0;
  virtual void setMnemonic(jint) = 0;
  virtual void setActionCommand(::java::lang::String *) = 0;
  virtual ::java::lang::String * getActionCommand() = 0;
  virtual void setGroup(::javax::swing::ButtonGroup *) = 0;
  virtual void setSelected(jboolean) = 0;
  virtual jboolean isSelected() = 0;
  virtual JArray< ::java::lang::Object * > * getSelectedObjects() = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __javax_swing_ButtonModel__