summaryrefslogtreecommitdiff
path: root/libjava/java/awt/dnd/DragSourceContext.h
blob: 1e4646729e4fe1c90c9c85f29bd757754a847178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_dnd_DragSourceContext__
#define __java_awt_dnd_DragSourceContext__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Cursor;
        class Image;
        class Point;
      namespace datatransfer
      {
          class Transferable;
      }
      namespace dnd
      {
          class DragGestureEvent;
          class DragSource;
          class DragSourceContext;
          class DragSourceDragEvent;
          class DragSourceDropEvent;
          class DragSourceEvent;
          class DragSourceListener;
        namespace peer
        {
            class DragSourceContextPeer;
        }
      }
    }
  }
}

class java::awt::dnd::DragSourceContext : public ::java::lang::Object
{

public:
  DragSourceContext(::java::awt::dnd::peer::DragSourceContextPeer *, ::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
  virtual ::java::awt::dnd::DragSource * getDragSource();
  virtual ::java::awt::Component * getComponent();
  virtual ::java::awt::dnd::DragGestureEvent * getTrigger();
  virtual jint getSourceActions();
  virtual void setCursor(::java::awt::Cursor *);
  virtual ::java::awt::Cursor * getCursor();
  virtual void addDragSourceListener(::java::awt::dnd::DragSourceListener *);
  virtual void removeDragSourceListener(::java::awt::dnd::DragSourceListener *);
  virtual void transferablesFlavorsChanged();
  virtual void dragEnter(::java::awt::dnd::DragSourceDragEvent *);
  virtual void dragOver(::java::awt::dnd::DragSourceDragEvent *);
  virtual void dragExit(::java::awt::dnd::DragSourceEvent *);
  virtual void dropActionChanged(::java::awt::dnd::DragSourceDragEvent *);
  virtual void dragDropEnd(::java::awt::dnd::DragSourceDropEvent *);
  virtual void dragMouseMoved(::java::awt::dnd::DragSourceDragEvent *);
  virtual ::java::awt::datatransfer::Transferable * getTransferable();
public: // actually protected
  virtual void updateCurrentCursor(jint, jint, jint);
public: // actually package-private
  static const jlong serialVersionUID = -115407898692194719LL;
public: // actually protected
  static const jint DEFAULT = 0;
  static const jint ENTER = 1;
  static const jint OVER = 2;
  static const jint CHANGED = 3;
private:
  ::java::awt::dnd::peer::DragSourceContextPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) peer;
  ::java::awt::Cursor * cursor;
  ::java::awt::datatransfer::Transferable * transferable;
  ::java::awt::dnd::DragGestureEvent * trigger;
  ::java::awt::dnd::DragSourceListener * dragSourceListener;
  jboolean useCustomCursor;
  jint sourceActions;
  ::java::awt::Image * image;
  ::java::awt::Point * offset;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_dnd_DragSourceContext__