1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_tree_DefaultTreeModel__
|
5 |
|
|
#define __javax_swing_tree_DefaultTreeModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace swing
|
17 |
|
|
{
|
18 |
|
|
namespace event
|
19 |
|
|
{
|
20 |
|
|
class EventListenerList;
|
21 |
|
|
class TreeModelListener;
|
22 |
|
|
}
|
23 |
|
|
namespace tree
|
24 |
|
|
{
|
25 |
|
|
class DefaultTreeModel;
|
26 |
|
|
class MutableTreeNode;
|
27 |
|
|
class TreeNode;
|
28 |
|
|
class TreePath;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
class javax::swing::tree::DefaultTreeModel : public ::java::lang::Object
|
35 |
|
|
{
|
36 |
|
|
|
37 |
|
|
public:
|
38 |
|
|
DefaultTreeModel(::javax::swing::tree::TreeNode *);
|
39 |
|
|
DefaultTreeModel(::javax::swing::tree::TreeNode *, jboolean);
|
40 |
|
|
private:
|
41 |
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
42 |
|
|
void readObject(::java::io::ObjectInputStream *);
|
43 |
|
|
public:
|
44 |
|
|
virtual jboolean asksAllowsChildren();
|
45 |
|
|
virtual void setAsksAllowsChildren(jboolean);
|
46 |
|
|
virtual void setRoot(::javax::swing::tree::TreeNode *);
|
47 |
|
|
virtual ::java::lang::Object * getRoot();
|
48 |
|
|
virtual jint getIndexOfChild(::java::lang::Object *, ::java::lang::Object *);
|
49 |
|
|
virtual ::java::lang::Object * getChild(::java::lang::Object *, jint);
|
50 |
|
|
virtual jint getChildCount(::java::lang::Object *);
|
51 |
|
|
virtual jboolean isLeaf(::java::lang::Object *);
|
52 |
|
|
virtual void reload();
|
53 |
|
|
virtual void reload(::javax::swing::tree::TreeNode *);
|
54 |
|
|
virtual void valueForPathChanged(::javax::swing::tree::TreePath *, ::java::lang::Object *);
|
55 |
|
|
virtual void insertNodeInto(::javax::swing::tree::MutableTreeNode *, ::javax::swing::tree::MutableTreeNode *, jint);
|
56 |
|
|
virtual void removeNodeFromParent(::javax::swing::tree::MutableTreeNode *);
|
57 |
|
|
virtual void nodeChanged(::javax::swing::tree::TreeNode *);
|
58 |
|
|
virtual void nodesWereInserted(::javax::swing::tree::TreeNode *, JArray< jint > *);
|
59 |
|
|
virtual void nodesWereRemoved(::javax::swing::tree::TreeNode *, JArray< jint > *, JArray< ::java::lang::Object * > *);
|
60 |
|
|
virtual void nodesChanged(::javax::swing::tree::TreeNode *, JArray< jint > *);
|
61 |
|
|
virtual void nodeStructureChanged(::javax::swing::tree::TreeNode *);
|
62 |
|
|
virtual JArray< ::javax::swing::tree::TreeNode * > * getPathToRoot(::javax::swing::tree::TreeNode *);
|
63 |
|
|
public: // actually protected
|
64 |
|
|
virtual JArray< ::javax::swing::tree::TreeNode * > * getPathToRoot(::javax::swing::tree::TreeNode *, jint);
|
65 |
|
|
public:
|
66 |
|
|
virtual void addTreeModelListener(::javax::swing::event::TreeModelListener *);
|
67 |
|
|
virtual void removeTreeModelListener(::javax::swing::event::TreeModelListener *);
|
68 |
|
|
virtual JArray< ::javax::swing::event::TreeModelListener * > * getTreeModelListeners();
|
69 |
|
|
public: // actually protected
|
70 |
|
|
virtual void fireTreeNodesChanged(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *);
|
71 |
|
|
virtual void fireTreeNodesInserted(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *);
|
72 |
|
|
virtual void fireTreeNodesRemoved(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *);
|
73 |
|
|
virtual void fireTreeStructureChanged(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *);
|
74 |
|
|
public:
|
75 |
|
|
virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
|
76 |
|
|
public: // actually package-private
|
77 |
|
|
static const jlong serialVersionUID = -2621068368932566998LL;
|
78 |
|
|
public: // actually protected
|
79 |
|
|
::javax::swing::tree::TreeNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) root;
|
80 |
|
|
::javax::swing::event::EventListenerList * listenerList;
|
81 |
|
|
jboolean asksAllowsChildren__;
|
82 |
|
|
public:
|
83 |
|
|
static ::java::lang::Class class$;
|
84 |
|
|
};
|
85 |
|
|
|
86 |
|
|
#endif // __javax_swing_tree_DefaultTreeModel__
|