TransferHandler.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_TransferHandler__
  3. #define __javax_swing_TransferHandler__
  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. namespace datatransfer
  14. {
  15. class Clipboard;
  16. class DataFlavor;
  17. class Transferable;
  18. }
  19. namespace event
  20. {
  21. class InputEvent;
  22. }
  23. }
  24. namespace beans
  25. {
  26. class PropertyDescriptor;
  27. }
  28. }
  29. namespace javax
  30. {
  31. namespace swing
  32. {
  33. class Action;
  34. class Icon;
  35. class JComponent;
  36. class TransferHandler;
  37. class TransferHandler$SwingDragGestureRecognizer;
  38. }
  39. }
  40. }
  41. class javax::swing::TransferHandler : public ::java::lang::Object
  42. {
  43. public:
  44. static ::javax::swing::Action * getCopyAction();
  45. static ::javax::swing::Action * getCutAction();
  46. static ::javax::swing::Action * getPasteAction();
  47. public: // actually protected
  48. TransferHandler();
  49. public:
  50. TransferHandler(::java::lang::String *);
  51. virtual jboolean canImport(::javax::swing::JComponent *, JArray< ::java::awt::datatransfer::DataFlavor * > *);
  52. public: // actually protected
  53. virtual ::java::awt::datatransfer::Transferable * createTransferable(::javax::swing::JComponent *);
  54. public:
  55. virtual void exportAsDrag(::javax::swing::JComponent *, ::java::awt::event::InputEvent *, jint);
  56. public: // actually protected
  57. virtual void exportDone(::javax::swing::JComponent *, ::java::awt::datatransfer::Transferable *, jint);
  58. public:
  59. virtual void exportToClipboard(::javax::swing::JComponent *, ::java::awt::datatransfer::Clipboard *, jint);
  60. virtual jint getSourceActions(::javax::swing::JComponent *);
  61. virtual ::javax::swing::Icon * getVisualRepresentation(::java::awt::datatransfer::Transferable *);
  62. virtual jboolean importData(::javax::swing::JComponent *, ::java::awt::datatransfer::Transferable *);
  63. private:
  64. ::java::beans::PropertyDescriptor * getPropertyDescriptor(::javax::swing::JComponent *);
  65. ::java::awt::datatransfer::DataFlavor * getPropertyDataFlavor(::java::lang::Class *, JArray< ::java::awt::datatransfer::DataFlavor * > *);
  66. static const jlong serialVersionUID = -967749805571669910LL;
  67. static ::java::lang::String * COMMAND_COPY;
  68. static ::java::lang::String * COMMAND_CUT;
  69. static ::java::lang::String * COMMAND_PASTE;
  70. public:
  71. static const jint NONE = 0;
  72. static const jint COPY = 1;
  73. static const jint MOVE = 2;
  74. static const jint COPY_OR_MOVE = 3;
  75. private:
  76. static ::javax::swing::Action * copyAction;
  77. static ::javax::swing::Action * cutAction;
  78. static ::javax::swing::Action * pasteAction;
  79. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) sourceActions;
  80. ::javax::swing::Icon * visualRepresentation;
  81. ::java::lang::String * propertyName;
  82. ::javax::swing::TransferHandler$SwingDragGestureRecognizer * recognizer;
  83. public:
  84. static ::java::lang::Class class$;
  85. };
  86. #endif // __javax_swing_TransferHandler__