1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_DefaultStyledDocument$ElementBuffer__
|
5 |
|
|
#define __javax_swing_text_DefaultStyledDocument$ElementBuffer__
|
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 text
|
19 |
|
|
{
|
20 |
|
|
class AbstractDocument$DefaultDocumentEvent;
|
21 |
|
|
class DefaultStyledDocument;
|
22 |
|
|
class DefaultStyledDocument$ElementBuffer;
|
23 |
|
|
class DefaultStyledDocument$ElementBuffer$Edit;
|
24 |
|
|
class DefaultStyledDocument$ElementSpec;
|
25 |
|
|
class Element;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
class javax::swing::text::DefaultStyledDocument$ElementBuffer : public ::java::lang::Object
|
32 |
|
|
{
|
33 |
|
|
|
34 |
|
|
public:
|
35 |
|
|
DefaultStyledDocument$ElementBuffer(::javax::swing::text::DefaultStyledDocument *, ::javax::swing::text::Element *);
|
36 |
|
|
virtual ::javax::swing::text::Element * getRootElement();
|
37 |
|
|
virtual void remove(jint, jint, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *);
|
38 |
|
|
public: // actually protected
|
39 |
|
|
virtual void removeUpdate();
|
40 |
|
|
private:
|
41 |
|
|
jboolean removeElements(::javax::swing::text::Element *, jint, jint);
|
42 |
|
|
public: // actually package-private
|
43 |
|
|
virtual void create(jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *);
|
44 |
|
|
private:
|
45 |
|
|
jboolean canJoin(::javax::swing::text::Element *, ::javax::swing::text::Element *);
|
46 |
|
|
::javax::swing::text::Element * join(::javax::swing::text::Element *, ::javax::swing::text::Element *, ::javax::swing::text::Element *, jint, jint);
|
47 |
|
|
public: // actually protected
|
48 |
|
|
virtual void changeUpdate();
|
49 |
|
|
public:
|
50 |
|
|
virtual void change(jint, jint, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *);
|
51 |
|
|
virtual ::javax::swing::text::Element * clone(::javax::swing::text::Element *, ::javax::swing::text::Element *);
|
52 |
|
|
private:
|
53 |
|
|
::javax::swing::text::Element * cloneAsNecessary(::javax::swing::text::Element *, ::javax::swing::text::Element *, jint, jint);
|
54 |
|
|
public:
|
55 |
|
|
virtual void insert(jint, jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *);
|
56 |
|
|
private:
|
57 |
|
|
void prepareEdit(jint, jint);
|
58 |
|
|
void finishEdit(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *);
|
59 |
|
|
public: // actually protected
|
60 |
|
|
virtual void insertUpdate(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *);
|
61 |
|
|
private:
|
62 |
|
|
void pop();
|
63 |
|
|
void insertElement(::javax::swing::text::DefaultStyledDocument$ElementSpec *);
|
64 |
|
|
void insertFirstContentTag(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *);
|
65 |
|
|
void insertContentTag(::javax::swing::text::DefaultStyledDocument$ElementSpec *, ::javax::swing::text::DefaultStyledDocument$ElementBuffer$Edit *);
|
66 |
|
|
void createFracture(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *);
|
67 |
|
|
void fracture(jint);
|
68 |
|
|
void recreate(jint, jint);
|
69 |
|
|
::javax::swing::text::Element * recreateFracturedElement(::javax::swing::text::Element *, ::javax::swing::text::Element *);
|
70 |
|
|
jboolean split(jint, jint);
|
71 |
|
|
static const jlong serialVersionUID = 1688745877691146623LL;
|
72 |
|
|
::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) root;
|
73 |
|
|
jint offset;
|
74 |
|
|
jint endOffset;
|
75 |
|
|
jint length;
|
76 |
|
|
jint pos;
|
77 |
|
|
::javax::swing::text::Element * fracturedParent;
|
78 |
|
|
::javax::swing::text::Element * fracturedChild;
|
79 |
|
|
jboolean createdFracture;
|
80 |
|
|
::java::util::Stack * elementStack;
|
81 |
|
|
JArray< ::javax::swing::text::DefaultStyledDocument$ElementBuffer$Edit * > * insertPath;
|
82 |
|
|
jboolean recreateLeafs;
|
83 |
|
|
::java::util::ArrayList * edits;
|
84 |
|
|
jboolean offsetLastIndex;
|
85 |
|
|
jboolean offsetLastIndexReplace;
|
86 |
|
|
public: // actually package-private
|
87 |
|
|
::javax::swing::text::DefaultStyledDocument * this$0;
|
88 |
|
|
static jboolean $assertionsDisabled;
|
89 |
|
|
public:
|
90 |
|
|
static ::java::lang::Class class$;
|
91 |
|
|
};
|
92 |
|
|
|
93 |
|
|
#endif // __javax_swing_text_DefaultStyledDocument$ElementBuffer__
|