Fix expected messages in test
[official-gcc.git] / libjava / javax / swing / DefaultListSelectionModel.h
blob0a0ed22a363cfb7788cf20a62a8245463e94bb66
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_DefaultListSelectionModel__
5 #define __javax_swing_DefaultListSelectionModel__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace swing
18 class DefaultListSelectionModel;
19 namespace event
21 class EventListenerList;
22 class ListSelectionListener;
28 class javax::swing::DefaultListSelectionModel : public ::java::lang::Object
31 public:
32 DefaultListSelectionModel();
33 virtual jint getSelectionMode();
34 virtual void setSelectionMode(jint);
35 virtual jint getAnchorSelectionIndex();
36 virtual void setAnchorSelectionIndex(jint);
37 virtual jint getLeadSelectionIndex();
38 virtual void setLeadSelectionIndex(jint);
39 virtual void moveLeadSelectionIndex(jint);
40 virtual jboolean isLeadAnchorNotificationEnabled();
41 virtual void setLeadAnchorNotificationEnabled(jboolean);
42 virtual jboolean getValueIsAdjusting();
43 virtual void setValueIsAdjusting(jboolean);
44 virtual jboolean isSelectionEmpty();
45 virtual jint getMinSelectionIndex();
46 virtual jint getMaxSelectionIndex();
47 virtual jboolean isSelectedIndex(jint);
48 virtual void addSelectionInterval(jint, jint);
49 virtual void removeSelectionInterval(jint, jint);
50 virtual void clearSelection();
51 private:
52 void fireDifference(::java::util::BitSet *, ::java::util::BitSet *);
53 public:
54 virtual void setSelectionInterval(jint, jint);
55 virtual void insertIndexInterval(jint, jint, jboolean);
56 virtual void removeIndexInterval(jint, jint);
57 public: // actually protected
58 virtual void fireValueChanged(jboolean);
59 virtual void fireValueChanged(jint, jint);
60 virtual void fireValueChanged(jint, jint, jboolean);
61 public:
62 virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener *);
63 virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener *);
64 virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
65 virtual JArray< ::javax::swing::event::ListSelectionListener * > * getListSelectionListeners();
66 virtual ::java::lang::Object * clone();
67 private:
68 static const jlong serialVersionUID = -5718799865110415860LL;
69 public: // actually protected
70 ::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
71 public: // actually package-private
72 jint selectionMode;
73 jint leadSelectionIndex;
74 jint anchorSelectionIndex;
75 public: // actually protected
76 jboolean leadAnchorNotificationEnabled;
77 public: // actually package-private
78 jboolean valueIsAdjusting;
79 ::java::util::BitSet * sel;
80 ::java::lang::Object * oldSel;
81 jboolean setLeadCalledFromAdd;
82 public:
83 static ::java::lang::Class class$;
86 #endif // __javax_swing_DefaultListSelectionModel__