summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.h
blob: a53f91664d716b4ab54f23806d7bc67031e5a705 (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 __gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer__
#define __gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer__

#pragma interface

#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace dnd
        {
          namespace peer
          {
            namespace gtk
            {
                class GtkDragSourceContextPeer;
                class GtkDropTargetContextPeer;
            }
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Component;
        class Cursor;
        class Image;
        class Point;
      namespace dnd
      {
          class DragGestureEvent;
          class DragSourceContext;
      }
      namespace peer
      {
          class ComponentPeer;
      }
    }
  }
}

class gnu::java::awt::dnd::peer::gtk::GtkDragSourceContextPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
{

public: // actually package-private
  virtual void nativeStartDrag(::java::awt::Image *, jint, jint, jint, ::java::lang::String *);
  virtual void connectSignals(::java::awt::peer::ComponentPeer *);
  virtual void create(::java::awt::peer::ComponentPeer *);
  virtual void nativeSetCursor(jint);
  virtual void setTarget(::gnu::java::awt::dnd::peer::gtk::GtkDropTargetContextPeer *);
public:
  GtkDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
public: // actually package-private
  virtual ::java::awt::peer::ComponentPeer * getComponentPeer(::java::awt::Component *);
public:
  virtual void startDrag(::java::awt::dnd::DragSourceContext *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *);
  virtual ::java::awt::Cursor * getCursor();
  virtual void setCursor(::java::awt::Cursor *);
  virtual void transferablesFlavorsChanged();
  virtual void dragEnter(jint, jint);
  virtual void dragExit(jint, jint, jint);
  virtual void dragDropEnd(jint, jboolean, jint, jint);
  virtual void dragMouseMoved(jint, jint);
  virtual void dragOver(jint, jint);
  virtual void dragActionChanged(jint, jint);
private:
  ::java::awt::peer::ComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkGenericPeer)))) peer;
  ::java::awt::Cursor * cursor;
  ::java::awt::dnd::DragSourceContext * context;
public:
  static ::java::awt::Component * target;
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer__