JTextArea.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JTextArea__
  3. #define __javax_swing_JTextArea__
  4. #pragma interface
  5. #include <javax/swing/text/JTextComponent.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Dimension;
  13. class Rectangle;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace accessibility
  19. {
  20. class AccessibleContext;
  21. }
  22. namespace swing
  23. {
  24. class JTextArea;
  25. namespace text
  26. {
  27. class Document;
  28. }
  29. }
  30. }
  31. }
  32. class javax::swing::JTextArea : public ::javax::swing::text::JTextComponent
  33. {
  34. public:
  35. JTextArea();
  36. JTextArea(::java::lang::String *);
  37. JTextArea(jint, jint);
  38. JTextArea(::java::lang::String *, jint, jint);
  39. JTextArea(::javax::swing::text::Document *);
  40. JTextArea(::javax::swing::text::Document *, ::java::lang::String *, jint, jint);
  41. virtual void append(::java::lang::String *);
  42. public: // actually protected
  43. virtual ::javax::swing::text::Document * createDefaultModel();
  44. public:
  45. virtual jboolean getScrollableTracksViewportWidth();
  46. virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint);
  47. virtual ::java::awt::Dimension * getPreferredScrollableViewportSize();
  48. virtual ::java::lang::String * getUIClassID();
  49. virtual jint getColumns();
  50. virtual void setColumns(jint);
  51. virtual jint getRows();
  52. virtual void setRows(jint);
  53. virtual jboolean getLineWrap();
  54. virtual void setLineWrap(jboolean);
  55. virtual jboolean getWrapStyleWord();
  56. virtual void setWrapStyleWord(jboolean);
  57. virtual jint getTabSize();
  58. virtual void setTabSize(jint);
  59. public: // actually protected
  60. virtual jint getColumnWidth();
  61. public:
  62. virtual jint getLineCount();
  63. virtual jint getLineStartOffset(jint);
  64. virtual jint getLineEndOffset(jint);
  65. virtual jint getLineOfOffset(jint);
  66. public: // actually protected
  67. virtual jint getRowHeight();
  68. public:
  69. virtual void insert(::java::lang::String *, jint);
  70. virtual void replaceRange(::java::lang::String *, jint, jint);
  71. virtual ::java::awt::Dimension * getPreferredSize();
  72. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  73. private:
  74. static const jlong serialVersionUID = -6141680179310439825LL;
  75. jint __attribute__((aligned(__alignof__( ::javax::swing::text::JTextComponent)))) rows;
  76. jint columns;
  77. jboolean lineWrap;
  78. jint tabSize;
  79. jboolean wrapStyleWord;
  80. public:
  81. static ::java::lang::Class class$;
  82. };
  83. #endif // __javax_swing_JTextArea__