Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / swing / text / StringContent.h
blobca51a43d7e3b0a0f7792b4c51eff544977d0df01
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_text_StringContent__
5 #define __javax_swing_text_StringContent__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace swing
18 namespace text
20 class Position;
21 class Segment;
22 class StringContent;
24 namespace undo
26 class UndoableEdit;
32 class javax::swing::text::StringContent : public ::java::lang::Object
35 public:
36 StringContent();
37 StringContent(jint);
38 public: // actually protected
39 ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint);
40 public:
41 ::javax::swing::text::Position * createPosition(jint);
42 jint length();
43 ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *);
44 ::javax::swing::undo::UndoableEdit * remove(jint, jint);
45 private:
46 void replace(jint, jint, JArray< jchar > *);
47 public:
48 ::java::lang::String * getString(jint, jint);
49 void getChars(jint, jint, ::javax::swing::text::Segment *);
50 public: // actually protected
51 void updateUndoPositions(::java::util::Vector *);
52 public: // actually package-private
53 void checkLocation(jint, jint);
54 void garbageCollect();
55 private:
56 static const jlong serialVersionUID = 4755994433709540381LL;
57 public: // actually package-private
58 JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
59 private:
60 jint count;
61 public: // actually package-private
62 ::java::util::Vector * marks;
63 private:
64 static JArray< jchar > * EMPTY;
65 public: // actually package-private
66 ::java::lang::ref::ReferenceQueue * queueOfDeath;
67 public:
68 static ::java::lang::Class class$;
71 #endif // __javax_swing_text_StringContent__