StringContent.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_StringContent__
  3. #define __javax_swing_text_StringContent__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. namespace text
  14. {
  15. class Position;
  16. class Segment;
  17. class StringContent;
  18. }
  19. namespace undo
  20. {
  21. class UndoableEdit;
  22. }
  23. }
  24. }
  25. }
  26. class javax::swing::text::StringContent : public ::java::lang::Object
  27. {
  28. public:
  29. StringContent();
  30. StringContent(jint);
  31. public: // actually protected
  32. ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint);
  33. public:
  34. ::javax::swing::text::Position * createPosition(jint);
  35. jint length();
  36. ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *);
  37. ::javax::swing::undo::UndoableEdit * remove(jint, jint);
  38. private:
  39. void replace(jint, jint, JArray< jchar > *);
  40. public:
  41. ::java::lang::String * getString(jint, jint);
  42. void getChars(jint, jint, ::javax::swing::text::Segment *);
  43. public: // actually protected
  44. void updateUndoPositions(::java::util::Vector *);
  45. public: // actually package-private
  46. void checkLocation(jint, jint);
  47. void garbageCollect();
  48. private:
  49. static const jlong serialVersionUID = 4755994433709540381LL;
  50. public: // actually package-private
  51. JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
  52. private:
  53. jint count;
  54. public: // actually package-private
  55. ::java::util::Vector * marks;
  56. private:
  57. static JArray< jchar > * EMPTY;
  58. public: // actually package-private
  59. ::java::lang::ref::ReferenceQueue * queueOfDeath;
  60. public:
  61. static ::java::lang::Class class$;
  62. };
  63. #endif // __javax_swing_text_StringContent__