1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_StyledDocument__
|
5 |
|
|
#define __javax_swing_text_StyledDocument__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Color;
|
19 |
|
|
class Font;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
namespace javax
|
23 |
|
|
{
|
24 |
|
|
namespace swing
|
25 |
|
|
{
|
26 |
|
|
namespace event
|
27 |
|
|
{
|
28 |
|
|
class DocumentListener;
|
29 |
|
|
class UndoableEditListener;
|
30 |
|
|
}
|
31 |
|
|
namespace text
|
32 |
|
|
{
|
33 |
|
|
class AttributeSet;
|
34 |
|
|
class Element;
|
35 |
|
|
class Position;
|
36 |
|
|
class Segment;
|
37 |
|
|
class Style;
|
38 |
|
|
class StyledDocument;
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
|
44 |
|
|
class javax::swing::text::StyledDocument : public ::java::lang::Object
|
45 |
|
|
{
|
46 |
|
|
|
47 |
|
|
public:
|
48 |
|
|
virtual ::javax::swing::text::Style * addStyle(::java::lang::String *, ::javax::swing::text::Style *) = 0;
|
49 |
|
|
virtual void removeStyle(::java::lang::String *) = 0;
|
50 |
|
|
virtual ::javax::swing::text::Style * getStyle(::java::lang::String *) = 0;
|
51 |
|
|
virtual void setCharacterAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean) = 0;
|
52 |
|
|
virtual void setParagraphAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean) = 0;
|
53 |
|
|
virtual ::javax::swing::text::Style * getLogicalStyle(jint) = 0;
|
54 |
|
|
virtual void setLogicalStyle(jint, ::javax::swing::text::Style *) = 0;
|
55 |
|
|
virtual ::javax::swing::text::Element * getParagraphElement(jint) = 0;
|
56 |
|
|
virtual ::javax::swing::text::Element * getCharacterElement(jint) = 0;
|
57 |
|
|
virtual ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *) = 0;
|
58 |
|
|
virtual ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *) = 0;
|
59 |
|
|
virtual ::java::awt::Font * getFont(::javax::swing::text::AttributeSet *) = 0;
|
60 |
|
|
virtual void addDocumentListener(::javax::swing::event::DocumentListener *) = 0;
|
61 |
|
|
virtual void addUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0;
|
62 |
|
|
virtual ::javax::swing::text::Position * createPosition(jint) = 0;
|
63 |
|
|
virtual ::javax::swing::text::Element * getDefaultRootElement() = 0;
|
64 |
|
|
virtual ::javax::swing::text::Position * getEndPosition() = 0;
|
65 |
|
|
virtual jint getLength() = 0;
|
66 |
|
|
virtual ::java::lang::Object * getProperty(::java::lang::Object *) = 0;
|
67 |
|
|
virtual JArray< ::javax::swing::text::Element * > * getRootElements() = 0;
|
68 |
|
|
virtual ::javax::swing::text::Position * getStartPosition() = 0;
|
69 |
|
|
virtual ::java::lang::String * getText(jint, jint) = 0;
|
70 |
|
|
virtual void getText(jint, jint, ::javax::swing::text::Segment *) = 0;
|
71 |
|
|
virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *) = 0;
|
72 |
|
|
virtual void putProperty(::java::lang::Object *, ::java::lang::Object *) = 0;
|
73 |
|
|
virtual void remove(jint, jint) = 0;
|
74 |
|
|
virtual void removeDocumentListener(::javax::swing::event::DocumentListener *) = 0;
|
75 |
|
|
virtual void removeUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0;
|
76 |
|
|
virtual void render(::java::lang::Runnable *) = 0;
|
77 |
|
|
static ::java::lang::Class class$;
|
78 |
|
|
} __attribute__ ((java_interface));
|
79 |
|
|
|
80 |
|
|
#endif // __javax_swing_text_StyledDocument__
|