JTextPane.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JTextPane__
  3. #define __javax_swing_JTextPane__
  4. #pragma interface
  5. #include <javax/swing/JEditorPane.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace swing
  18. {
  19. class Icon;
  20. class JTextPane;
  21. namespace text
  22. {
  23. class AttributeSet;
  24. class Document;
  25. class EditorKit;
  26. class MutableAttributeSet;
  27. class Style;
  28. class StyledDocument;
  29. class StyledEditorKit;
  30. }
  31. }
  32. }
  33. }
  34. class javax::swing::JTextPane : public ::javax::swing::JEditorPane
  35. {
  36. public:
  37. JTextPane();
  38. JTextPane(::javax::swing::text::StyledDocument *);
  39. virtual ::java::lang::String * getUIClassID();
  40. virtual void setDocument(::javax::swing::text::Document *);
  41. virtual ::javax::swing::text::StyledDocument * getStyledDocument();
  42. virtual void setStyledDocument(::javax::swing::text::StyledDocument *);
  43. virtual void replaceSelection(::java::lang::String *);
  44. virtual void insertComponent(::java::awt::Component *);
  45. virtual void insertIcon(::javax::swing::Icon *);
  46. virtual ::javax::swing::text::Style * addStyle(::java::lang::String *, ::javax::swing::text::Style *);
  47. virtual void removeStyle(::java::lang::String *);
  48. virtual ::javax::swing::text::Style * getStyle(::java::lang::String *);
  49. virtual ::javax::swing::text::Style * getLogicalStyle();
  50. virtual void setLogicalStyle(::javax::swing::text::Style *);
  51. virtual ::javax::swing::text::AttributeSet * getCharacterAttributes();
  52. virtual void setCharacterAttributes(::javax::swing::text::AttributeSet *, jboolean);
  53. virtual ::javax::swing::text::AttributeSet * getParagraphAttributes();
  54. virtual void setParagraphAttributes(::javax::swing::text::AttributeSet *, jboolean);
  55. virtual ::javax::swing::text::MutableAttributeSet * getInputAttributes();
  56. public: // actually protected
  57. virtual ::javax::swing::text::StyledEditorKit * getStyledEditorKit();
  58. virtual ::javax::swing::text::EditorKit * createDefaultEditorKit();
  59. public:
  60. virtual void setEditorKit(::javax::swing::text::EditorKit *);
  61. public: // actually protected
  62. virtual ::java::lang::String * paramString();
  63. public:
  64. static ::java::lang::Class class$;
  65. };
  66. #endif // __javax_swing_JTextPane__