1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_text_GapContent__
#define __javax_swing_text_GapContent__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace javax
{
namespace swing
{
namespace text
{
class GapContent;
class GapContent$Mark;
class Position;
class Segment;
}
namespace undo
{
class UndoableEdit;
}
}
}
}
class javax::swing::text::GapContent : public ::java::lang::Object
{
public:
GapContent();
GapContent(jint);
public: // actually protected
virtual ::java::lang::Object * allocateArray(jint);
virtual jint getArrayLength();
public:
virtual jint length();
virtual ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *);
virtual ::javax::swing::undo::UndoableEdit * remove(jint, jint);
virtual ::java::lang::String * getString(jint, jint);
virtual void getChars(jint, jint, ::javax::swing::text::Segment *);
virtual ::javax::swing::text::Position * createPosition(jint);
public: // actually protected
virtual void shiftEnd(jint);
virtual void shiftGap(jint);
virtual void shiftGapStartDown(jint);
virtual void shiftGapEndUp(jint);
virtual ::java::lang::Object * getArray();
virtual void replace(jint, jint, ::java::lang::Object *, jint);
private:
void removeImpl(jint, jint);
jint addImpl(jint, jint);
public: // actually protected
virtual jint getGapStart();
virtual jint getGapEnd();
virtual ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint);
virtual void resetMarksAtZero();
virtual void updateUndoPositions(::java::util::Vector *, jint, jint);
private:
void dump();
void dumpMarks();
public: // actually package-private
virtual jint search(::javax::swing::text::GapContent$Mark *);
private:
jint searchFirst(jint);
jint compare(::javax::swing::text::GapContent$Mark *, ::javax::swing::text::GapContent$Mark *);
void garbageCollect();
static const jlong serialVersionUID = -6226052713477823730LL;
public: // actually package-private
static const jint DEFAULT_BUFSIZE = 10;
JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
jint gapStart;
jint gapEnd;
::java::util::ArrayList * marks;
private:
jint garbageMarks;
::javax::swing::text::GapContent$Mark * searchMark;
public: // actually package-private
::java::lang::ref::ReferenceQueue * queueOfDeath;
static jboolean $assertionsDisabled;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_text_GapContent__
|