Cursor.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Cursor__
  3. #define __java_awt_Cursor__
  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 Cursor;
  14. }
  15. }
  16. }
  17. class java::awt::Cursor : public ::java::lang::Object
  18. {
  19. public:
  20. Cursor(jint);
  21. public: // actually protected
  22. Cursor(::java::lang::String *);
  23. public:
  24. static ::java::awt::Cursor * getPredefinedCursor(jint);
  25. static ::java::awt::Cursor * getSystemCustomCursor(::java::lang::String *);
  26. static ::java::awt::Cursor * getDefaultCursor();
  27. virtual jint getType();
  28. virtual ::java::lang::String * getName();
  29. virtual ::java::lang::String * toString();
  30. public: // actually package-private
  31. static const jlong serialVersionUID = 8028237497568985504LL;
  32. public:
  33. static const jint DEFAULT_CURSOR = 0;
  34. static const jint CROSSHAIR_CURSOR = 1;
  35. static const jint TEXT_CURSOR = 2;
  36. static const jint WAIT_CURSOR = 3;
  37. static const jint SW_RESIZE_CURSOR = 4;
  38. static const jint SE_RESIZE_CURSOR = 5;
  39. static const jint NW_RESIZE_CURSOR = 6;
  40. static const jint NE_RESIZE_CURSOR = 7;
  41. static const jint N_RESIZE_CURSOR = 8;
  42. static const jint S_RESIZE_CURSOR = 9;
  43. static const jint W_RESIZE_CURSOR = 10;
  44. static const jint E_RESIZE_CURSOR = 11;
  45. static const jint HAND_CURSOR = 12;
  46. static const jint MOVE_CURSOR = 13;
  47. private:
  48. static JArray< ::java::lang::String * > * NAMES;
  49. public:
  50. static const jint CUSTOM_CURSOR = -1;
  51. private:
  52. static const jint PREDEFINED_COUNT = 14;
  53. public: // actually protected
  54. static JArray< ::java::awt::Cursor * > * predefined;
  55. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
  56. public: // actually package-private
  57. jint type;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __java_awt_Cursor__