JEditorPane.h 3.9 KB

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