2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_ListSelectionModel__
5 #define __javax_swing_ListSelectionModel__
9 #include <java/lang/Object.h>
16 class ListSelectionModel
;
19 class ListSelectionListener
;
25 class javax::swing::ListSelectionModel
: public ::java::lang::Object
29 virtual void setSelectionMode(jint
) = 0;
30 virtual jint
getSelectionMode() = 0;
31 virtual void clearSelection() = 0;
32 virtual jint
getMinSelectionIndex() = 0;
33 virtual jint
getMaxSelectionIndex() = 0;
34 virtual jboolean
isSelectedIndex(jint
) = 0;
35 virtual jboolean
isSelectionEmpty() = 0;
36 virtual void setSelectionInterval(jint
, jint
) = 0;
37 virtual void addSelectionInterval(jint
, jint
) = 0;
38 virtual void removeSelectionInterval(jint
, jint
) = 0;
39 virtual void insertIndexInterval(jint
, jint
, jboolean
) = 0;
40 virtual void removeIndexInterval(jint
, jint
) = 0;
41 virtual jint
getAnchorSelectionIndex() = 0;
42 virtual void setAnchorSelectionIndex(jint
) = 0;
43 virtual jint
getLeadSelectionIndex() = 0;
44 virtual void setLeadSelectionIndex(jint
) = 0;
45 virtual void setValueIsAdjusting(jboolean
) = 0;
46 virtual jboolean
getValueIsAdjusting() = 0;
47 virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener
*) = 0;
48 virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener
*) = 0;
49 static const jint SINGLE_SELECTION
= 0;
50 static const jint SINGLE_INTERVAL_SELECTION
= 1;
51 static const jint MULTIPLE_INTERVAL_SELECTION
= 2;
52 static ::java::lang::Class
class$
;
53 } __attribute__ ((java_interface
));
55 #endif // __javax_swing_ListSelectionModel__