summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/StringContent.h
blob: ca51a43d7e3b0a0f7792b4c51eff544977d0df01 (plain)
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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_StringContent__
#define __javax_swing_text_StringContent__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class Position;
          class Segment;
          class StringContent;
      }
      namespace undo
      {
          class UndoableEdit;
      }
    }
  }
}

class javax::swing::text::StringContent : public ::java::lang::Object
{

public:
  StringContent();
  StringContent(jint);
public: // actually protected
  ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint);
public:
  ::javax::swing::text::Position * createPosition(jint);
  jint length();
  ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *);
  ::javax::swing::undo::UndoableEdit * remove(jint, jint);
private:
  void replace(jint, jint, JArray< jchar > *);
public:
  ::java::lang::String * getString(jint, jint);
  void getChars(jint, jint, ::javax::swing::text::Segment *);
public: // actually protected
  void updateUndoPositions(::java::util::Vector *);
public: // actually package-private
  void checkLocation(jint, jint);
  void garbageCollect();
private:
  static const jlong serialVersionUID = 4755994433709540381LL;
public: // actually package-private
  JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
private:
  jint count;
public: // actually package-private
  ::java::util::Vector * marks;
private:
  static JArray< jchar > * EMPTY;
public: // actually package-private
  ::java::lang::ref::ReferenceQueue * queueOfDeath;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_StringContent__