1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_AbstractDocument$AbstractElement__
|
5 |
|
|
#define __javax_swing_text_AbstractDocument$AbstractElement__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace javax
|
13 |
|
|
{
|
14 |
|
|
namespace swing
|
15 |
|
|
{
|
16 |
|
|
namespace text
|
17 |
|
|
{
|
18 |
|
|
class AbstractDocument;
|
19 |
|
|
class AbstractDocument$AbstractElement;
|
20 |
|
|
class AttributeSet;
|
21 |
|
|
class Document;
|
22 |
|
|
class Element;
|
23 |
|
|
}
|
24 |
|
|
namespace tree
|
25 |
|
|
{
|
26 |
|
|
class TreeNode;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
class javax::swing::text::AbstractDocument$AbstractElement : public ::java::lang::Object
|
33 |
|
|
{
|
34 |
|
|
|
35 |
|
|
public:
|
36 |
|
|
AbstractDocument$AbstractElement(::javax::swing::text::AbstractDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *);
|
37 |
|
|
virtual ::java::util::Enumeration * children() = 0;
|
38 |
|
|
virtual jboolean getAllowsChildren() = 0;
|
39 |
|
|
virtual ::javax::swing::tree::TreeNode * getChildAt(jint);
|
40 |
|
|
virtual jint getChildCount();
|
41 |
|
|
virtual jint getIndex(::javax::swing::tree::TreeNode *);
|
42 |
|
|
virtual ::javax::swing::tree::TreeNode * getParent();
|
43 |
|
|
virtual jboolean isLeaf() = 0;
|
44 |
|
|
virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *);
|
45 |
|
|
virtual void addAttributes(::javax::swing::text::AttributeSet *);
|
46 |
|
|
virtual void removeAttribute(::java::lang::Object *);
|
47 |
|
|
virtual void removeAttributes(::javax::swing::text::AttributeSet *);
|
48 |
|
|
virtual void removeAttributes(::java::util::Enumeration *);
|
49 |
|
|
virtual void setResolveParent(::javax::swing::text::AttributeSet *);
|
50 |
|
|
virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *);
|
51 |
|
|
virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *);
|
52 |
|
|
virtual ::javax::swing::text::AttributeSet * copyAttributes();
|
53 |
|
|
virtual ::java::lang::Object * getAttribute(::java::lang::Object *);
|
54 |
|
|
virtual jint getAttributeCount();
|
55 |
|
|
virtual ::java::util::Enumeration * getAttributeNames();
|
56 |
|
|
virtual ::javax::swing::text::AttributeSet * getResolveParent();
|
57 |
|
|
virtual jboolean isDefined(::java::lang::Object *);
|
58 |
|
|
virtual jboolean isEqual(::javax::swing::text::AttributeSet *);
|
59 |
|
|
virtual ::javax::swing::text::AttributeSet * getAttributes();
|
60 |
|
|
virtual ::javax::swing::text::Document * getDocument();
|
61 |
|
|
virtual ::javax::swing::text::Element * getElement(jint) = 0;
|
62 |
|
|
virtual ::java::lang::String * getName();
|
63 |
|
|
virtual ::javax::swing::text::Element * getParentElement();
|
64 |
|
|
virtual jint getEndOffset() = 0;
|
65 |
|
|
virtual jint getElementCount() = 0;
|
66 |
|
|
virtual jint getElementIndex(jint) = 0;
|
67 |
|
|
virtual jint getStartOffset() = 0;
|
68 |
|
|
virtual void dump(::java::io::PrintStream *, jint);
|
69 |
|
|
private:
|
70 |
|
|
static const jlong serialVersionUID = 1712240033321461704LL;
|
71 |
|
|
public: // actually package-private
|
72 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
|
73 |
|
|
jint offset;
|
74 |
|
|
::javax::swing::text::AttributeSet * attributes;
|
75 |
|
|
::javax::swing::text::Element * element_parent;
|
76 |
|
|
::javax::swing::tree::TreeNode * tree_parent;
|
77 |
|
|
::java::util::Vector * tree_children;
|
78 |
|
|
::javax::swing::text::AbstractDocument * this$0;
|
79 |
|
|
public:
|
80 |
|
|
static ::java::lang::Class class$;
|
81 |
|
|
};
|
82 |
|
|
|
83 |
|
|
#endif // __javax_swing_text_AbstractDocument$AbstractElement__
|