1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_tree_TreeSelectionModel__
|
5 |
|
|
#define __javax_swing_tree_TreeSelectionModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace beans
|
17 |
|
|
{
|
18 |
|
|
class PropertyChangeListener;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace javax
|
22 |
|
|
{
|
23 |
|
|
namespace swing
|
24 |
|
|
{
|
25 |
|
|
namespace event
|
26 |
|
|
{
|
27 |
|
|
class TreeSelectionListener;
|
28 |
|
|
}
|
29 |
|
|
namespace tree
|
30 |
|
|
{
|
31 |
|
|
class RowMapper;
|
32 |
|
|
class TreePath;
|
33 |
|
|
class TreeSelectionModel;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
class javax::swing::tree::TreeSelectionModel : public ::java::lang::Object
|
40 |
|
|
{
|
41 |
|
|
|
42 |
|
|
public:
|
43 |
|
|
virtual void setSelectionMode(jint) = 0;
|
44 |
|
|
virtual jint getSelectionMode() = 0;
|
45 |
|
|
virtual void setSelectionPath(::javax::swing::tree::TreePath *) = 0;
|
46 |
|
|
virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
|
47 |
|
|
virtual void addSelectionPath(::javax::swing::tree::TreePath *) = 0;
|
48 |
|
|
virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
|
49 |
|
|
virtual void removeSelectionPath(::javax::swing::tree::TreePath *) = 0;
|
50 |
|
|
virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
|
51 |
|
|
virtual ::javax::swing::tree::TreePath * getSelectionPath() = 0;
|
52 |
|
|
virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths() = 0;
|
53 |
|
|
virtual jint getSelectionCount() = 0;
|
54 |
|
|
virtual jboolean isPathSelected(::javax::swing::tree::TreePath *) = 0;
|
55 |
|
|
virtual jboolean isSelectionEmpty() = 0;
|
56 |
|
|
virtual void clearSelection() = 0;
|
57 |
|
|
virtual void setRowMapper(::javax::swing::tree::RowMapper *) = 0;
|
58 |
|
|
virtual ::javax::swing::tree::RowMapper * getRowMapper() = 0;
|
59 |
|
|
virtual JArray< jint > * getSelectionRows() = 0;
|
60 |
|
|
virtual jint getMinSelectionRow() = 0;
|
61 |
|
|
virtual jint getMaxSelectionRow() = 0;
|
62 |
|
|
virtual jboolean isRowSelected(jint) = 0;
|
63 |
|
|
virtual void resetRowSelection() = 0;
|
64 |
|
|
virtual jint getLeadSelectionRow() = 0;
|
65 |
|
|
virtual ::javax::swing::tree::TreePath * getLeadSelectionPath() = 0;
|
66 |
|
|
virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
|
67 |
|
|
virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
|
68 |
|
|
virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0;
|
69 |
|
|
virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0;
|
70 |
|
|
static const jint SINGLE_TREE_SELECTION = 1;
|
71 |
|
|
static const jint CONTIGUOUS_TREE_SELECTION = 2;
|
72 |
|
|
static const jint DISCONTIGUOUS_TREE_SELECTION = 4;
|
73 |
|
|
static ::java::lang::Class class$;
|
74 |
|
|
} __attribute__ ((java_interface));
|
75 |
|
|
|
76 |
|
|
#endif // __javax_swing_tree_TreeSelectionModel__
|