AWTKeyStroke.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_AWTKeyStroke__
  3. #define __java_awt_AWTKeyStroke__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class AWTKeyStroke;
  13. namespace event
  14. {
  15. class KeyEvent;
  16. }
  17. }
  18. }
  19. }
  20. class java::awt::AWTKeyStroke : public ::java::lang::Object
  21. {
  22. public: // actually protected
  23. AWTKeyStroke();
  24. AWTKeyStroke(jchar, jint, jint, jboolean);
  25. static void registerSubclass(::java::lang::Class *);
  26. public:
  27. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jchar);
  28. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(::java::lang::Character *, jint);
  29. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jint, jint, jboolean);
  30. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jint, jint);
  31. static ::java::awt::AWTKeyStroke * getAWTKeyStrokeForEvent(::java::awt::event::KeyEvent *);
  32. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(::java::lang::String *);
  33. virtual jchar getKeyChar();
  34. virtual jint getKeyCode();
  35. virtual jint getModifiers();
  36. virtual jboolean isOnKeyRelease();
  37. virtual jint getKeyEventType();
  38. virtual jint hashCode();
  39. virtual jboolean equals(::java::lang::Object *);
  40. virtual ::java::lang::String * toString();
  41. public: // actually protected
  42. virtual ::java::lang::Object * readResolve();
  43. private:
  44. static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jchar, jint, jint, jboolean);
  45. static jint extend(jint);
  46. static const jlong serialVersionUID = -6430539691155161871LL;
  47. static const jint MODIFIERS_MASK = 16367;
  48. static ::java::util::LinkedHashMap * cache;
  49. static ::java::awt::AWTKeyStroke * recent;
  50. static ::java::lang::reflect::Constructor * ctor;
  51. public: // actually package-private
  52. static ::java::util::HashMap * vktable;
  53. private:
  54. jchar __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyChar;
  55. public: // actually package-private
  56. jint keyCode;
  57. private:
  58. jint modifiers;
  59. jboolean onKeyRelease;
  60. public:
  61. static ::java::lang::Class class$;
  62. };
  63. #endif // __java_awt_AWTKeyStroke__