blob: b22be6e6fa1cf91cd0a75b7596eecf8c8c5760d7 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_text_AbstractWriter__
#define __javax_swing_text_AbstractWriter__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace javax
{
namespace swing
{
namespace text
{
class AbstractWriter;
class AttributeSet;
class Document;
class Element;
class ElementIterator;
}
}
}
}
class javax::swing::text::AbstractWriter : public ::java::lang::Object
{
public: // actually protected
AbstractWriter(::java::io::Writer *, ::javax::swing::text::Document *);
AbstractWriter(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint);
AbstractWriter(::java::io::Writer *, ::javax::swing::text::Element *);
AbstractWriter(::java::io::Writer *, ::javax::swing::text::Element *, jint, jint);
virtual ::javax::swing::text::ElementIterator * getElementIterator();
virtual ::java::io::Writer * getWriter();
virtual ::javax::swing::text::Document * getDocument();
virtual void write() = 0;
virtual ::java::lang::String * getText(::javax::swing::text::Element *);
virtual void output(JArray< jchar > *, jint, jint);
virtual void writeLineSeparator();
virtual void write(jchar);
virtual void write(::java::lang::String *);
virtual void write(JArray< jchar > *, jint, jint);
virtual void indent();
public:
virtual jint getStartOffset();
virtual jint getEndOffset();
public: // actually protected
virtual jboolean inRange(::javax::swing::text::Element *);
virtual void text(::javax::swing::text::Element *);
virtual void setLineLength(jint);
virtual jint getLineLength();
virtual void setCurrentLineLength(jint);
virtual jint getCurrentLineLength();
virtual jboolean isLineEmpty();
virtual void setCanWrapLines(jboolean);
virtual jboolean getCanWrapLines();
virtual void setIndentSpace(jint);
virtual jint getIndentSpace();
public:
virtual void setLineSeparator(::java::lang::String *);
virtual ::java::lang::String * getLineSeparator();
public: // actually protected
virtual void incrIndent();
virtual void decrIndent();
virtual jint getIndentLevel();
virtual void writeAttributes(::javax::swing::text::AttributeSet *);
static const jchar NEWLINE = 10;
private:
::java::io::Writer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) writer;
::javax::swing::text::ElementIterator * iter;
::javax::swing::text::Document * document;
jint maxLineLength;
jint lineLength;
jboolean canWrapLines;
jint indentSpace;
jint indentLevel;
jboolean indented;
jint startOffset;
jint endOffset;
::java::lang::String * lineSeparator;
JArray< jchar > * lineSeparatorChars;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_text_AbstractWriter__
|