1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_tree_AbstractLayoutCache__
|
5 |
|
|
#define __javax_swing_tree_AbstractLayoutCache__
|
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 awt
|
17 |
|
|
{
|
18 |
|
|
class Rectangle;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace javax
|
22 |
|
|
{
|
23 |
|
|
namespace swing
|
24 |
|
|
{
|
25 |
|
|
namespace event
|
26 |
|
|
{
|
27 |
|
|
class TreeModelEvent;
|
28 |
|
|
}
|
29 |
|
|
namespace tree
|
30 |
|
|
{
|
31 |
|
|
class AbstractLayoutCache;
|
32 |
|
|
class AbstractLayoutCache$NodeDimensions;
|
33 |
|
|
class TreeModel;
|
34 |
|
|
class TreePath;
|
35 |
|
|
class TreeSelectionModel;
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
class javax::swing::tree::AbstractLayoutCache : public ::java::lang::Object
|
42 |
|
|
{
|
43 |
|
|
|
44 |
|
|
public:
|
45 |
|
|
AbstractLayoutCache();
|
46 |
|
|
virtual void setNodeDimensions(::javax::swing::tree::AbstractLayoutCache$NodeDimensions *);
|
47 |
|
|
virtual ::javax::swing::tree::AbstractLayoutCache$NodeDimensions * getNodeDimensions();
|
48 |
|
|
public: // actually protected
|
49 |
|
|
virtual ::java::awt::Rectangle * getNodeDimensions(::java::lang::Object *, jint, jint, jboolean, ::java::awt::Rectangle *);
|
50 |
|
|
public:
|
51 |
|
|
virtual void setModel(::javax::swing::tree::TreeModel *);
|
52 |
|
|
virtual ::javax::swing::tree::TreeModel * getModel();
|
53 |
|
|
virtual void setRootVisible(jboolean);
|
54 |
|
|
virtual jboolean isRootVisible();
|
55 |
|
|
virtual void setRowHeight(jint);
|
56 |
|
|
virtual jint getRowHeight();
|
57 |
|
|
virtual void setSelectionModel(::javax::swing::tree::TreeSelectionModel *);
|
58 |
|
|
virtual ::javax::swing::tree::TreeSelectionModel * getSelectionModel();
|
59 |
|
|
virtual jint getPreferredHeight();
|
60 |
|
|
virtual jint getPreferredWidth(::java::awt::Rectangle *);
|
61 |
|
|
virtual jboolean isExpanded(::javax::swing::tree::TreePath *) = 0;
|
62 |
|
|
virtual ::java::awt::Rectangle * getBounds(::javax::swing::tree::TreePath *, ::java::awt::Rectangle *) = 0;
|
63 |
|
|
virtual ::javax::swing::tree::TreePath * getPathForRow(jint) = 0;
|
64 |
|
|
virtual jint getRowForPath(::javax::swing::tree::TreePath *) = 0;
|
65 |
|
|
virtual ::javax::swing::tree::TreePath * getPathClosestTo(jint, jint) = 0;
|
66 |
|
|
virtual ::java::util::Enumeration * getVisiblePathsFrom(::javax::swing::tree::TreePath *) = 0;
|
67 |
|
|
virtual jint getVisibleChildCount(::javax::swing::tree::TreePath *) = 0;
|
68 |
|
|
virtual void setExpandedState(::javax::swing::tree::TreePath *, jboolean) = 0;
|
69 |
|
|
virtual jboolean getExpandedState(::javax::swing::tree::TreePath *) = 0;
|
70 |
|
|
virtual jint getRowCount() = 0;
|
71 |
|
|
virtual void invalidateSizes() = 0;
|
72 |
|
|
virtual void invalidatePathBounds(::javax::swing::tree::TreePath *) = 0;
|
73 |
|
|
virtual void treeNodesChanged(::javax::swing::event::TreeModelEvent *) = 0;
|
74 |
|
|
virtual void treeNodesInserted(::javax::swing::event::TreeModelEvent *) = 0;
|
75 |
|
|
virtual void treeNodesRemoved(::javax::swing::event::TreeModelEvent *) = 0;
|
76 |
|
|
virtual void treeStructureChanged(::javax::swing::event::TreeModelEvent *) = 0;
|
77 |
|
|
virtual JArray< jint > * getRowsForPaths(JArray< ::javax::swing::tree::TreePath * > *);
|
78 |
|
|
public: // actually protected
|
79 |
|
|
virtual jboolean isFixedRowHeight();
|
80 |
|
|
::javax::swing::tree::AbstractLayoutCache$NodeDimensions * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nodeDimensions;
|
81 |
|
|
::javax::swing::tree::TreeModel * treeModel;
|
82 |
|
|
::javax::swing::tree::TreeSelectionModel * treeSelectionModel;
|
83 |
|
|
jboolean rootVisible;
|
84 |
|
|
jint rowHeight;
|
85 |
|
|
public:
|
86 |
|
|
static ::java::lang::Class class$;
|
87 |
|
|
};
|
88 |
|
|
|
89 |
|
|
#endif // __javax_swing_tree_AbstractLayoutCache__
|