1 
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3 
4 #ifndef __javax_swing_text_html_HTMLEditorKit__
5 #define __javax_swing_text_html_HTMLEditorKit__
6 
7 #pragma interface
8 
9 #include <javax/swing/text/StyledEditorKit.h>
10 #include <gcj/array.h>
11 
12 extern "Java"
13 {
14   namespace java
15   {
16     namespace awt
17     {
18         class Cursor;
19     }
20   }
21   namespace javax
22   {
23     namespace accessibility
24     {
25         class AccessibleContext;
26     }
27     namespace swing
28     {
29         class Action;
30         class JEditorPane;
31       namespace text
32       {
33           class Document;
34           class Element;
35           class MutableAttributeSet;
36           class ViewFactory;
37         namespace html
38         {
39             class HTML$Tag;
40             class HTMLDocument;
41             class HTMLEditorKit;
42             class HTMLEditorKit$HTMLFactory;
43             class HTMLEditorKit$LinkController;
44             class HTMLEditorKit$Parser;
45             class StyleSheet;
46         }
47       }
48     }
49   }
50 }
51 
52 class javax::swing::text::html::HTMLEditorKit : public ::javax::swing::text::StyledEditorKit
53 {
54 
55 public:
56   HTMLEditorKit();
57   virtual ::javax::swing::text::ViewFactory * getViewFactory();
58   virtual ::javax::swing::text::Document * createDefaultDocument();
59 public: // actually protected
60   virtual ::javax::swing::text::html::HTMLEditorKit$Parser * getParser();
61 public:
62   virtual void insertHTML(::javax::swing::text::html::HTMLDocument *, jint, ::java::lang::String *, jint, jint, ::javax::swing::text::html::HTML$Tag *);
63   virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint);
64   virtual void write(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint);
65   virtual ::java::lang::String * getContentType();
66   virtual ::java::lang::Object * clone();
67 public: // actually protected
68   virtual void createInputAttributes(::javax::swing::text::Element *, ::javax::swing::text::MutableAttributeSet *);
69 public:
70   virtual void install(::javax::swing::JEditorPane *);
71   virtual void deinstall(::javax::swing::JEditorPane *);
72   virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
73   virtual JArray< ::javax::swing::Action * > * getActions();
74   virtual ::java::awt::Cursor * getDefaultCursor();
75   virtual ::java::awt::Cursor * getLinkCursor();
76   virtual void setLinkCursor(::java::awt::Cursor *);
77   virtual void setDefaultCursor(::java::awt::Cursor *);
78   virtual ::javax::swing::text::MutableAttributeSet * getInputAttributes();
79   virtual ::javax::swing::text::html::StyleSheet * getStyleSheet();
80   virtual void setStyleSheet(::javax::swing::text::html::StyleSheet *);
81   virtual jboolean isAutoFormSubmission();
82   virtual void setAutoFormSubmission(jboolean);
83 private:
84   static const jlong serialVersionUID = 8751997116710384592LL;
85 public:
86   static ::java::lang::String * DEFAULT_CSS;
87   static ::java::lang::String * BOLD_ACTION;
88   static ::java::lang::String * ITALIC_ACTION;
89   static ::java::lang::String * COLOR_ACTION;
90   static ::java::lang::String * FONT_CHANGE_BIGGER;
91   static ::java::lang::String * FONT_CHANGE_SMALLER;
92   static ::java::lang::String * IMG_ALIGN_BOTTOM;
93   static ::java::lang::String * IMG_ALIGN_MIDDLE;
94   static ::java::lang::String * IMG_ALIGN_TOP;
95   static ::java::lang::String * IMG_BORDER;
96   static ::java::lang::String * LOGICAL_STYLE_ACTION;
97   static ::java::lang::String * PARA_INDENT_LEFT;
98   static ::java::lang::String * PARA_INDENT_RIGHT;
99 private:
100   static JArray< ::javax::swing::Action * > * defaultActions;
101   ::javax::swing::text::html::StyleSheet * __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit)))) styleSheet;
102 public: // actually package-private
103   ::javax::swing::text::html::HTMLEditorKit$HTMLFactory * viewFactory;
104   ::java::awt::Cursor * linkCursor;
105   ::java::awt::Cursor * defaultCursor;
106   ::javax::swing::text::html::HTMLEditorKit$Parser * parser;
107 private:
108   ::javax::swing::text::html::HTMLEditorKit$LinkController * linkController;
109 public: // actually package-private
110   ::java::lang::String * contentType;
111   ::javax::swing::text::MutableAttributeSet * inputAttributes;
112   ::javax::swing::JEditorPane * editorPane;
113 private:
114   jboolean autoFormSubmission;
115 public:
116   static ::java::lang::Class class$;
117 };
118 
119 #endif // __javax_swing_text_html_HTMLEditorKit__
120