2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JTextPane__
5 #define __javax_swing_JTextPane__
9 #include <javax/swing/JEditorPane.h>
30 class MutableAttributeSet
;
33 class StyledEditorKit
;
39 class javax::swing::JTextPane
: public ::javax::swing::JEditorPane
44 JTextPane(::javax::swing::text::StyledDocument
*);
45 virtual ::java::lang::String
* getUIClassID();
46 virtual void setDocument(::javax::swing::text::Document
*);
47 virtual ::javax::swing::text::StyledDocument
* getStyledDocument();
48 virtual void setStyledDocument(::javax::swing::text::StyledDocument
*);
49 virtual void replaceSelection(::java::lang::String
*);
50 virtual void insertComponent(::java::awt::Component
*);
51 virtual void insertIcon(::javax::swing::Icon
*);
52 virtual ::javax::swing::text::Style
* addStyle(::java::lang::String
*, ::javax::swing::text::Style
*);
53 virtual void removeStyle(::java::lang::String
*);
54 virtual ::javax::swing::text::Style
* getStyle(::java::lang::String
*);
55 virtual ::javax::swing::text::Style
* getLogicalStyle();
56 virtual void setLogicalStyle(::javax::swing::text::Style
*);
57 virtual ::javax::swing::text::AttributeSet
* getCharacterAttributes();
58 virtual void setCharacterAttributes(::javax::swing::text::AttributeSet
*, jboolean
);
59 virtual ::javax::swing::text::AttributeSet
* getParagraphAttributes();
60 virtual void setParagraphAttributes(::javax::swing::text::AttributeSet
*, jboolean
);
61 virtual ::javax::swing::text::MutableAttributeSet
* getInputAttributes();
62 public: // actually protected
63 virtual ::javax::swing::text::StyledEditorKit
* getStyledEditorKit();
64 virtual ::javax::swing::text::EditorKit
* createDefaultEditorKit();
66 virtual void setEditorKit(::javax::swing::text::EditorKit
*);
67 public: // actually protected
68 virtual ::java::lang::String
* paramString();
70 static ::java::lang::Class
class$
;
73 #endif // __javax_swing_JTextPane__