OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [DefaultButtonModel.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_DefaultButtonModel__
5
#define __javax_swing_DefaultButtonModel__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
      namespace event
19
      {
20
          class ActionEvent;
21
          class ActionListener;
22
          class ItemEvent;
23
          class ItemListener;
24
      }
25
    }
26
  }
27
  namespace javax
28
  {
29
    namespace swing
30
    {
31
        class ButtonGroup;
32
        class DefaultButtonModel;
33
      namespace event
34
      {
35
          class ChangeEvent;
36
          class ChangeListener;
37
          class EventListenerList;
38
      }
39
    }
40
  }
41
}
42
 
43
class javax::swing::DefaultButtonModel : public ::java::lang::Object
44
{
45
 
46
public:
47
  DefaultButtonModel();
48
  virtual JArray< ::java::lang::Object * > * getSelectedObjects();
49
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
50
  virtual void addActionListener(::java::awt::event::ActionListener *);
51
  virtual void removeActionListener(::java::awt::event::ActionListener *);
52
  virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
53
  virtual void addItemListener(::java::awt::event::ItemListener *);
54
  virtual void removeItemListener(::java::awt::event::ItemListener *);
55
  virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
56
  virtual void addChangeListener(::javax::swing::event::ChangeListener *);
57
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
58
  virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
59
public: // actually protected
60
  virtual void fireItemStateChanged(::java::awt::event::ItemEvent *);
61
  virtual void fireActionPerformed(::java::awt::event::ActionEvent *);
62
  virtual void fireStateChanged();
63
public:
64
  virtual jboolean isArmed();
65
  virtual void setArmed(jboolean);
66
  virtual jboolean isEnabled();
67
  virtual void setEnabled(jboolean);
68
  virtual void setPressed(jboolean);
69
  virtual jboolean isPressed();
70
  virtual void setRollover(jboolean);
71
  virtual void setSelected(jboolean);
72
  virtual jboolean isSelected();
73
  virtual jboolean isRollover();
74
  virtual jint getMnemonic();
75
  virtual void setMnemonic(jint);
76
  virtual void setActionCommand(::java::lang::String *);
77
  virtual ::java::lang::String * getActionCommand();
78
  virtual void setGroup(::javax::swing::ButtonGroup *);
79
  virtual ::javax::swing::ButtonGroup * getGroup();
80
private:
81
  static const jlong serialVersionUID = -5342609566534980231LL;
82
public:
83
  static const jint ARMED = 1;
84
  static const jint ENABLED = 8;
85
  static const jint PRESSED = 4;
86
  static const jint ROLLOVER = 16;
87
  static const jint SELECTED = 2;
88
public: // actually protected
89
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) stateMask;
90
  ::javax::swing::event::EventListenerList * listenerList;
91
  ::javax::swing::event::ChangeEvent * changeEvent;
92
  ::javax::swing::ButtonGroup * group;
93
  jint mnemonic;
94
  ::java::lang::String * actionCommand;
95
public:
96
  static ::java::lang::Class class$;
97
};
98
 
99
#endif // __javax_swing_DefaultButtonModel__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.