summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/tree/DefaultTreeSelectionModel.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/tree/DefaultTreeSelectionModel.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.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/tree/DefaultTreeSelectionModel.h')
-rw-r--r--libjava/javax/swing/tree/DefaultTreeSelectionModel.h119
1 files changed, 119 insertions, 0 deletions
diff --git a/libjava/javax/swing/tree/DefaultTreeSelectionModel.h b/libjava/javax/swing/tree/DefaultTreeSelectionModel.h
new file mode 100644
index 000000000..07a358d15
--- /dev/null
+++ b/libjava/javax/swing/tree/DefaultTreeSelectionModel.h
@@ -0,0 +1,119 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_tree_DefaultTreeSelectionModel__
+#define __javax_swing_tree_DefaultTreeSelectionModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class DefaultListSelectionModel;
+ namespace event
+ {
+ class EventListenerList;
+ class SwingPropertyChangeSupport;
+ class TreeSelectionEvent;
+ class TreeSelectionListener;
+ }
+ namespace tree
+ {
+ class DefaultTreeSelectionModel;
+ class RowMapper;
+ class TreePath;
+ }
+ }
+ }
+}
+
+class javax::swing::tree::DefaultTreeSelectionModel : public ::java::lang::Object
+{
+
+public:
+ DefaultTreeSelectionModel();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ virtual void setRowMapper(::javax::swing::tree::RowMapper *);
+ virtual ::javax::swing::tree::RowMapper * getRowMapper();
+ virtual void setSelectionMode(jint);
+ virtual jint getSelectionMode();
+ virtual void setSelectionPath(::javax::swing::tree::TreePath *);
+public: // actually package-private
+ virtual jint getRow(::javax::swing::tree::TreePath *);
+public:
+ virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual void addSelectionPath(::javax::swing::tree::TreePath *);
+ virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual void removeSelectionPath(::javax::swing::tree::TreePath *);
+ virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual ::javax::swing::tree::TreePath * getSelectionPath();
+ virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths();
+ virtual jint getSelectionCount();
+ virtual jboolean isPathSelected(::javax::swing::tree::TreePath *);
+ virtual jboolean isSelectionEmpty();
+ virtual void clearSelection();
+ virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *);
+ virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *);
+ virtual JArray< ::javax::swing::event::TreeSelectionListener * > * getTreeSelectionListeners();
+public: // actually protected
+ virtual void fireValueChanged(::javax::swing::event::TreeSelectionEvent *);
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< jint > * getSelectionRows();
+ virtual jint getMinSelectionRow();
+ virtual jint getMaxSelectionRow();
+ virtual jboolean isRowSelected(jint);
+ virtual void resetRowSelection();
+ virtual jint getLeadSelectionRow();
+ virtual ::javax::swing::tree::TreePath * getLeadSelectionPath();
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+public: // actually protected
+ virtual void insureRowContinuity();
+ virtual jboolean arePathsContiguous(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual jboolean canPathsBeAdded(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual jboolean canPathsBeRemoved(JArray< ::javax::swing::tree::TreePath * > *);
+ virtual void notifyPathChange(::java::util::Vector *, ::javax::swing::tree::TreePath *);
+ virtual void updateLeadIndex();
+ virtual void insureUniqueness();
+public: // actually package-private
+ static const jlong serialVersionUID = 3288129636638950196LL;
+public:
+ static ::java::lang::String * SELECTION_MODE_PROPERTY;
+public: // actually protected
+ ::javax::swing::event::SwingPropertyChangeSupport * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeSupport;
+ JArray< ::javax::swing::tree::TreePath * > * selection;
+ ::javax::swing::event::EventListenerList * listenerList;
+ ::javax::swing::tree::RowMapper * rowMapper;
+ ::javax::swing::DefaultListSelectionModel * listSelectionModel;
+ jint selectionMode;
+ ::javax::swing::tree::TreePath * leadPath;
+ jint leadIndex;
+ jint leadRow;
+private:
+ ::java::util::HashSet * selectedPaths;
+ ::java::util::HashSet * tmpPaths;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_tree_DefaultTreeSelectionModel__