2016-07-28 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / libjava / javax / swing / text / DefaultStyledDocument$ElementSpec.h
blob7c2433411b63c827174f3b0dce19b8d8221db8e0
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_text_DefaultStyledDocument$ElementSpec__
5 #define __javax_swing_text_DefaultStyledDocument$ElementSpec__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace swing
18 namespace text
20 class AttributeSet;
21 class DefaultStyledDocument$ElementSpec;
27 class javax::swing::text::DefaultStyledDocument$ElementSpec : public ::java::lang::Object
30 public:
31 DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort);
32 DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, jint);
33 DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, JArray< jchar > *, jint, jint);
34 virtual void setType(jshort);
35 virtual jshort getType();
36 virtual void setDirection(jshort);
37 virtual jshort getDirection();
38 virtual ::javax::swing::text::AttributeSet * getAttributes();
39 virtual JArray< jchar > * getArray();
40 virtual jint getOffset();
41 virtual jint getLength();
42 virtual ::java::lang::String * toString();
43 static const jshort StartTagType = 1;
44 static const jshort EndTagType = 2;
45 static const jshort ContentType = 3;
46 static const jshort JoinPreviousDirection = 4;
47 static const jshort JoinNextDirection = 5;
48 static const jshort OriginateDirection = 6;
49 static const jshort JoinFractureDirection = 7;
50 public: // actually package-private
51 jshort __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
52 jshort direction;
53 jint offset;
54 jint length;
55 JArray< jchar > * content;
56 ::javax::swing::text::AttributeSet * attributes;
57 public:
58 static ::java::lang::Class class$;
61 #endif // __javax_swing_text_DefaultStyledDocument$ElementSpec__