summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/DefaultListSelectionModel.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/DefaultListSelectionModel.h
downloadcbb-gcc-4.6.4-upstream.tar.bz2
cbb-gcc-4.6.4-upstream.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/DefaultListSelectionModel.h')
-rw-r--r--libjava/javax/swing/DefaultListSelectionModel.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/libjava/javax/swing/DefaultListSelectionModel.h b/libjava/javax/swing/DefaultListSelectionModel.h
new file mode 100644
index 000000000..0a0ed22a3
--- /dev/null
+++ b/libjava/javax/swing/DefaultListSelectionModel.h
@@ -0,0 +1,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__