TextAreaPeer.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_peer_TextAreaPeer__
  3. #define __java_awt_peer_TextAreaPeer__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class AWTEvent;
  13. class BufferCapabilities;
  14. class BufferCapabilities$FlipContents;
  15. class Color;
  16. class Component;
  17. class Cursor;
  18. class Dimension;
  19. class Font;
  20. class FontMetrics;
  21. class Graphics;
  22. class GraphicsConfiguration;
  23. class Image;
  24. class Point;
  25. class Rectangle;
  26. class Toolkit;
  27. namespace event
  28. {
  29. class PaintEvent;
  30. }
  31. namespace im
  32. {
  33. class InputMethodRequests;
  34. }
  35. namespace image
  36. {
  37. class ColorModel;
  38. class ImageObserver;
  39. class ImageProducer;
  40. class VolatileImage;
  41. }
  42. namespace peer
  43. {
  44. class ContainerPeer;
  45. class TextAreaPeer;
  46. }
  47. }
  48. }
  49. namespace sun
  50. {
  51. namespace awt
  52. {
  53. class CausedFocusEvent$Cause;
  54. }
  55. }
  56. }
  57. class java::awt::peer::TextAreaPeer : public ::java::lang::Object
  58. {
  59. public:
  60. virtual void insert(::java::lang::String *, jint) = 0;
  61. virtual void insertText(::java::lang::String *, jint) = 0;
  62. virtual ::java::awt::Dimension * minimumSize(jint, jint) = 0;
  63. virtual ::java::awt::Dimension * getMinimumSize(jint, jint) = 0;
  64. virtual ::java::awt::Dimension * preferredSize(jint, jint) = 0;
  65. virtual ::java::awt::Dimension * getPreferredSize(jint, jint) = 0;
  66. virtual void replaceRange(::java::lang::String *, jint, jint) = 0;
  67. virtual void replaceText(::java::lang::String *, jint, jint) = 0;
  68. virtual jint getSelectionEnd() = 0;
  69. virtual jint getSelectionStart() = 0;
  70. virtual ::java::lang::String * getText() = 0;
  71. virtual void setText(::java::lang::String *) = 0;
  72. virtual void select(jint, jint) = 0;
  73. virtual void setEditable(jboolean) = 0;
  74. virtual jint getCaretPosition() = 0;
  75. virtual void setCaretPosition(jint) = 0;
  76. virtual jint getIndexAtPoint(jint, jint) = 0;
  77. virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
  78. virtual jlong filterEvents(jlong) = 0;
  79. virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests() = 0;
  80. virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  81. virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
  82. virtual ::java::awt::Image * createImage(jint, jint) = 0;
  83. virtual void disable() = 0;
  84. virtual void dispose() = 0;
  85. virtual void enable() = 0;
  86. virtual ::java::awt::image::ColorModel * getColorModel() = 0;
  87. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
  88. virtual ::java::awt::Graphics * getGraphics() = 0;
  89. virtual ::java::awt::Point * getLocationOnScreen() = 0;
  90. virtual ::java::awt::Dimension * getMinimumSize() = 0;
  91. virtual ::java::awt::Dimension * getPreferredSize() = 0;
  92. virtual ::java::awt::Toolkit * getToolkit() = 0;
  93. virtual void handleEvent(::java::awt::AWTEvent *) = 0;
  94. virtual void hide() = 0;
  95. virtual jboolean isFocusTraversable() = 0;
  96. virtual jboolean isFocusable() = 0;
  97. virtual ::java::awt::Dimension * minimumSize() = 0;
  98. virtual ::java::awt::Dimension * preferredSize() = 0;
  99. virtual void paint(::java::awt::Graphics *) = 0;
  100. virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  101. virtual void print(::java::awt::Graphics *) = 0;
  102. virtual void repaint(jlong, jint, jint, jint, jint) = 0;
  103. virtual void requestFocus() = 0;
  104. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
  105. virtual void reshape(jint, jint, jint, jint) = 0;
  106. virtual void setBackground(::java::awt::Color *) = 0;
  107. virtual void setBounds(jint, jint, jint, jint) = 0;
  108. virtual void setCursor(::java::awt::Cursor *) = 0;
  109. virtual void setEnabled(jboolean) = 0;
  110. virtual void setFont(::java::awt::Font *) = 0;
  111. virtual void setForeground(::java::awt::Color *) = 0;
  112. virtual void setVisible(jboolean) = 0;
  113. virtual void show() = 0;
  114. virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
  115. virtual void setEventMask(jlong) = 0;
  116. virtual jboolean isObscured() = 0;
  117. virtual jboolean canDetermineObscurity() = 0;
  118. virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
  119. virtual void updateCursorImmediately() = 0;
  120. virtual jboolean handlesWheelScrolling() = 0;
  121. virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
  122. virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
  123. virtual ::java::awt::Image * getBackBuffer() = 0;
  124. virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
  125. virtual void destroyBuffers() = 0;
  126. virtual ::java::awt::Rectangle * getBounds() = 0;
  127. virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
  128. virtual void setBounds(jint, jint, jint, jint, jint) = 0;
  129. virtual jboolean isReparentSupported() = 0;
  130. virtual void layout() = 0;
  131. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *) = 0;
  132. static ::java::lang::Class class$;
  133. } __attribute__ ((java_interface));
  134. #endif // __java_awt_peer_TextAreaPeer__