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

#ifndef __javax_swing_text_AbstractDocument$DefaultDocumentEvent__
#define __javax_swing_text_AbstractDocument$DefaultDocumentEvent__

#pragma interface

#include <javax/swing/undo/CompoundEdit.h>
extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace event
      {
          class DocumentEvent$ElementChange;
          class DocumentEvent$EventType;
      }
      namespace text
      {
          class AbstractDocument;
          class AbstractDocument$DefaultDocumentEvent;
          class Document;
          class Element;
      }
      namespace undo
      {
          class UndoableEdit;
      }
    }
  }
}

class javax::swing::text::AbstractDocument$DefaultDocumentEvent : public ::javax::swing::undo::CompoundEdit
{

public:
  AbstractDocument$DefaultDocumentEvent(::javax::swing::text::AbstractDocument *, jint, jint, ::javax::swing::event::DocumentEvent$EventType *);
  virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *);
  virtual ::javax::swing::text::Document * getDocument();
  virtual jint getLength();
  virtual jint getOffset();
  virtual ::javax::swing::event::DocumentEvent$EventType * getType();
  virtual ::javax::swing::event::DocumentEvent$ElementChange * getChange(::javax::swing::text::Element *);
  virtual ::java::lang::String * toString();
private:
  static const jlong serialVersionUID = 5230037221564563284LL;
  static const jint THRESHOLD = 10;
  jint __attribute__((aligned(__alignof__( ::javax::swing::undo::CompoundEdit)))) offset;
  jint length;
  ::javax::swing::event::DocumentEvent$EventType * type;
  ::java::util::HashMap * changes;
  jboolean modified;
public: // actually package-private
  ::javax::swing::text::AbstractDocument * this$0;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_AbstractDocument$DefaultDocumentEvent__