blob: 0a0ed22a363cfb7788cf20a62a8245463e94bb66 (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_DefaultListSelectionModel__
#define __javax_swing_DefaultListSelectionModel__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace javax
{
namespace swing
{
class DefaultListSelectionModel;
namespace event
{
class EventListenerList;
class ListSelectionListener;
}
}
}
}
class javax::swing::DefaultListSelectionModel : public ::java::lang::Object
{
public:
DefaultListSelectionModel();
virtual jint getSelectionMode();
virtual void setSelectionMode(jint);
virtual jint getAnchorSelectionIndex();
virtual void setAnchorSelectionIndex(jint);
virtual jint getLeadSelectionIndex();
virtual void setLeadSelectionIndex(jint);
virtual void moveLeadSelectionIndex(jint);
virtual jboolean isLeadAnchorNotificationEnabled();
virtual void setLeadAnchorNotificationEnabled(jboolean);
virtual jboolean getValueIsAdjusting();
virtual void setValueIsAdjusting(jboolean);
virtual jboolean isSelectionEmpty();
virtual jint getMinSelectionIndex();
virtual jint getMaxSelectionIndex();
virtual jboolean isSelectedIndex(jint);
virtual void addSelectionInterval(jint, jint);
virtual void removeSelectionInterval(jint, jint);
virtual void clearSelection();
private:
void fireDifference(::java::util::BitSet *, ::java::util::BitSet *);
public:
virtual void setSelectionInterval(jint, jint);
virtual void insertIndexInterval(jint, jint, jboolean);
virtual void removeIndexInterval(jint, jint);
public: // actually protected
virtual void fireValueChanged(jboolean);
virtual void fireValueChanged(jint, jint);
virtual void fireValueChanged(jint, jint, jboolean);
public:
virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener *);
virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener *);
virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
virtual JArray< ::javax::swing::event::ListSelectionListener * > * getListSelectionListeners();
virtual ::java::lang::Object * clone();
private:
static const jlong serialVersionUID = -5718799865110415860LL;
public: // actually protected
::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
public: // actually package-private
jint selectionMode;
jint leadSelectionIndex;
jint anchorSelectionIndex;
public: // actually protected
jboolean leadAnchorNotificationEnabled;
public: // actually package-private
jboolean valueIsAdjusting;
::java::util::BitSet * sel;
::java::lang::Object * oldSel;
jboolean setLeadCalledFromAdd;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_DefaultListSelectionModel__
|