summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/DefaultSingleSelectionModel.h
blob: 8ea8f8e796dc5ac1074e8f17522f94afe984e829 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_DefaultSingleSelectionModel__
#define __javax_swing_DefaultSingleSelectionModel__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
        class DefaultSingleSelectionModel;
      namespace event
      {
          class ChangeEvent;
          class ChangeListener;
          class EventListenerList;
      }
    }
  }
}

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

public:
  DefaultSingleSelectionModel();
  virtual jint getSelectedIndex();
  virtual void setSelectedIndex(jint);
  virtual void clearSelection();
  virtual jboolean isSelected();
  virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
public: // actually protected
  virtual void fireStateChanged();
public:
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
private:
  static const jlong serialVersionUID = 3676229404753786004LL;
public: // actually protected
  ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeEvent;
  ::javax::swing::event::EventListenerList * listenerList;
private:
  jint index;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_DefaultSingleSelectionModel__