1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_JEditorPane__
|
5 |
|
|
#define __javax_swing_JEditorPane__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/text/JTextComponent.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Dimension;
|
19 |
|
|
}
|
20 |
|
|
namespace net
|
21 |
|
|
{
|
22 |
|
|
class URL;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace javax
|
26 |
|
|
{
|
27 |
|
|
namespace accessibility
|
28 |
|
|
{
|
29 |
|
|
class AccessibleContext;
|
30 |
|
|
}
|
31 |
|
|
namespace swing
|
32 |
|
|
{
|
33 |
|
|
class JEditorPane;
|
34 |
|
|
class JEditorPane$PageLoader;
|
35 |
|
|
namespace event
|
36 |
|
|
{
|
37 |
|
|
class HyperlinkEvent;
|
38 |
|
|
class HyperlinkListener;
|
39 |
|
|
}
|
40 |
|
|
namespace text
|
41 |
|
|
{
|
42 |
|
|
class EditorKit;
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
class javax::swing::JEditorPane : public ::javax::swing::text::JTextComponent
|
49 |
|
|
{
|
50 |
|
|
|
51 |
|
|
public:
|
52 |
|
|
JEditorPane();
|
53 |
|
|
JEditorPane(::java::lang::String *);
|
54 |
|
|
JEditorPane(::java::lang::String *, ::java::lang::String *);
|
55 |
|
|
JEditorPane(::java::net::URL *);
|
56 |
|
|
public: // actually package-private
|
57 |
|
|
virtual void init();
|
58 |
|
|
public: // actually protected
|
59 |
|
|
virtual ::javax::swing::text::EditorKit * createDefaultEditorKit();
|
60 |
|
|
public:
|
61 |
|
|
static ::javax::swing::text::EditorKit * createEditorKitForContentType(::java::lang::String *);
|
62 |
|
|
virtual void fireHyperlinkUpdate(::javax::swing::event::HyperlinkEvent *);
|
63 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
64 |
|
|
virtual ::java::lang::String * getContentType();
|
65 |
|
|
virtual ::javax::swing::text::EditorKit * getEditorKit();
|
66 |
|
|
static ::java::lang::String * getEditorKitClassNameForContentType(::java::lang::String *);
|
67 |
|
|
virtual ::javax::swing::text::EditorKit * getEditorKitForContentType(::java::lang::String *);
|
68 |
|
|
virtual ::java::awt::Dimension * getPreferredSize();
|
69 |
|
|
virtual jboolean getScrollableTracksViewportHeight();
|
70 |
|
|
virtual jboolean getScrollableTracksViewportWidth();
|
71 |
|
|
virtual ::java::net::URL * getPage();
|
72 |
|
|
public: // actually protected
|
73 |
|
|
virtual ::java::io::InputStream * getStream(::java::net::URL *);
|
74 |
|
|
public:
|
75 |
|
|
virtual ::java::lang::String * getText();
|
76 |
|
|
virtual ::java::lang::String * getUIClassID();
|
77 |
|
|
virtual jboolean isFocusCycleRoot();
|
78 |
|
|
public: // actually protected
|
79 |
|
|
virtual ::java::lang::String * paramString();
|
80 |
|
|
public:
|
81 |
|
|
virtual void read(::java::io::InputStream *, ::java::lang::Object *);
|
82 |
|
|
static void registerEditorKitForContentType(::java::lang::String *, ::java::lang::String *);
|
83 |
|
|
static void registerEditorKitForContentType(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
|
84 |
|
|
virtual void replaceSelection(::java::lang::String *);
|
85 |
|
|
virtual void scrollToReference(::java::lang::String *);
|
86 |
|
|
virtual void setContentType(::java::lang::String *);
|
87 |
|
|
virtual void setEditorKit(::javax::swing::text::EditorKit *);
|
88 |
|
|
virtual void setEditorKitForContentType(::java::lang::String *, ::javax::swing::text::EditorKit *);
|
89 |
|
|
virtual void setPage(::java::lang::String *);
|
90 |
|
|
virtual void setPage(::java::net::URL *);
|
91 |
|
|
virtual void setText(::java::lang::String *);
|
92 |
|
|
virtual void addHyperlinkListener(::javax::swing::event::HyperlinkListener *);
|
93 |
|
|
virtual void removeHyperlinkListener(::javax::swing::event::HyperlinkListener *);
|
94 |
|
|
virtual JArray< ::javax::swing::event::HyperlinkListener * > * getHyperlinkListeners();
|
95 |
|
|
public: // actually package-private
|
96 |
|
|
static void access$0(::javax::swing::JEditorPane *, ::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
|
97 |
|
|
private:
|
98 |
|
|
static const jlong serialVersionUID = 3140472492599046285LL;
|
99 |
|
|
::javax::swing::text::EditorKit * __attribute__((aligned(__alignof__( ::javax::swing::text::JTextComponent)))) editorKit;
|
100 |
|
|
public: // actually package-private
|
101 |
|
|
jboolean focus_root;
|
102 |
|
|
static ::java::util::HashMap * editorKits;
|
103 |
|
|
static ::java::util::HashMap * registerMap;
|
104 |
|
|
::java::util::HashMap * editorMap;
|
105 |
|
|
private:
|
106 |
|
|
::javax::swing::JEditorPane$PageLoader * loader;
|
107 |
|
|
public: // actually package-private
|
108 |
|
|
static jboolean $assertionsDisabled;
|
109 |
|
|
public:
|
110 |
|
|
static ::java::lang::Class class$;
|
111 |
|
|
};
|
112 |
|
|
|
113 |
|
|
#endif // __javax_swing_JEditorPane__
|