diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/tree/TreeSelectionModel.h | |
download | cbb-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/tree/TreeSelectionModel.h')
-rw-r--r-- | libjava/javax/swing/tree/TreeSelectionModel.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/libjava/javax/swing/tree/TreeSelectionModel.h b/libjava/javax/swing/tree/TreeSelectionModel.h new file mode 100644 index 000000000..3c0194d18 --- /dev/null +++ b/libjava/javax/swing/tree/TreeSelectionModel.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeSelectionModel__ +#define __javax_swing_tree_TreeSelectionModel__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class TreeSelectionListener; + } + namespace tree + { + class RowMapper; + class TreePath; + class TreeSelectionModel; + } + } + } +} + +class javax::swing::tree::TreeSelectionModel : public ::java::lang::Object +{ + +public: + virtual void setSelectionMode(jint) = 0; + virtual jint getSelectionMode() = 0; + virtual void setSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual void addSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual void removeSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual ::javax::swing::tree::TreePath * getSelectionPath() = 0; + virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths() = 0; + virtual jint getSelectionCount() = 0; + virtual jboolean isPathSelected(::javax::swing::tree::TreePath *) = 0; + virtual jboolean isSelectionEmpty() = 0; + virtual void clearSelection() = 0; + virtual void setRowMapper(::javax::swing::tree::RowMapper *) = 0; + virtual ::javax::swing::tree::RowMapper * getRowMapper() = 0; + virtual JArray< jint > * getSelectionRows() = 0; + virtual jint getMinSelectionRow() = 0; + virtual jint getMaxSelectionRow() = 0; + virtual jboolean isRowSelected(jint) = 0; + virtual void resetRowSelection() = 0; + virtual jint getLeadSelectionRow() = 0; + virtual ::javax::swing::tree::TreePath * getLeadSelectionPath() = 0; + virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0; + virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0; + virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0; + virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0; + static const jint SINGLE_TREE_SELECTION = 1; + static const jint CONTIGUOUS_TREE_SELECTION = 2; + static const jint DISCONTIGUOUS_TREE_SELECTION = 4; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeSelectionModel__ |