AbstractDocument$DefaultDocumentEvent.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_AbstractDocument$DefaultDocumentEvent__
  3. #define __javax_swing_text_AbstractDocument$DefaultDocumentEvent__
  4. #pragma interface
  5. #include <javax/swing/undo/CompoundEdit.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace swing
  11. {
  12. namespace event
  13. {
  14. class DocumentEvent$ElementChange;
  15. class DocumentEvent$EventType;
  16. }
  17. namespace text
  18. {
  19. class AbstractDocument;
  20. class AbstractDocument$DefaultDocumentEvent;
  21. class Document;
  22. class Element;
  23. }
  24. namespace undo
  25. {
  26. class UndoableEdit;
  27. }
  28. }
  29. }
  30. }
  31. class javax::swing::text::AbstractDocument$DefaultDocumentEvent : public ::javax::swing::undo::CompoundEdit
  32. {
  33. public:
  34. AbstractDocument$DefaultDocumentEvent(::javax::swing::text::AbstractDocument *, jint, jint, ::javax::swing::event::DocumentEvent$EventType *);
  35. virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *);
  36. virtual ::javax::swing::text::Document * getDocument();
  37. virtual jint getLength();
  38. virtual jint getOffset();
  39. virtual ::javax::swing::event::DocumentEvent$EventType * getType();
  40. virtual ::javax::swing::event::DocumentEvent$ElementChange * getChange(::javax::swing::text::Element *);
  41. virtual ::java::lang::String * toString();
  42. private:
  43. static const jlong serialVersionUID = 5230037221564563284LL;
  44. static const jint THRESHOLD = 10;
  45. jint __attribute__((aligned(__alignof__( ::javax::swing::undo::CompoundEdit)))) offset;
  46. jint length;
  47. ::javax::swing::event::DocumentEvent$EventType * type;
  48. ::java::util::HashMap * changes;
  49. jboolean modified;
  50. public: // actually package-private
  51. ::javax::swing::text::AbstractDocument * this$0;
  52. public:
  53. static ::java::lang::Class class$;
  54. };
  55. #endif // __javax_swing_text_AbstractDocument$DefaultDocumentEvent__