ListPeer.h 4.8 KB

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