summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/dnd
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/awt/dnd')
-rw-r--r--libjava/gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.h66
-rw-r--r--libjava/gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.h86
-rw-r--r--libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.h69
-rw-r--r--libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.h53
4 files changed, 274 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.h b/libjava/gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.h
new file mode 100644
index 000000000..13cf4aace
--- /dev/null
+++ b/libjava/gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_dnd_GtkMouseDragGestureRecognizer__
+#define __gnu_java_awt_dnd_GtkMouseDragGestureRecognizer__
+
+#pragma interface
+
+#include <java/awt/dnd/MouseDragGestureRecognizer.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class GtkMouseDragGestureRecognizer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace dnd
+ {
+ class DragGestureListener;
+ class DragSource;
+ }
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::dnd::GtkMouseDragGestureRecognizer : public ::java::awt::dnd::MouseDragGestureRecognizer
+{
+
+public:
+ GtkMouseDragGestureRecognizer(::java::awt::dnd::DragSource *);
+ GtkMouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *);
+ GtkMouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint);
+ GtkMouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual void registerListeners();
+ virtual void unregisterListeners();
+ virtual void mouseClicked(::java::awt::event::MouseEvent *);
+ virtual void mousePressed(::java::awt::event::MouseEvent *);
+ virtual void mouseReleased(::java::awt::event::MouseEvent *);
+ virtual void mouseEntered(::java::awt::event::MouseEvent *);
+ virtual void mouseExited(::java::awt::event::MouseEvent *);
+ virtual void mouseDragged(::java::awt::event::MouseEvent *);
+ virtual void mouseMoved(::java::awt::event::MouseEvent *);
+private:
+ jint getDropActionFromEvent(::java::awt::event::MouseEvent *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_dnd_GtkMouseDragGestureRecognizer__
diff --git a/libjava/gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.h b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.h
new file mode 100644
index 000000000..a53f91664
--- /dev/null
+++ b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.h
@@ -0,0 +1,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__
diff --git a/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.h b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.h
new file mode 100644
index 000000000..2ddfeb536
--- /dev/null
+++ b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_dnd_peer_gtk_GtkDropTargetContextPeer__
+#define __gnu_java_awt_dnd_peer_gtk_GtkDropTargetContextPeer__
+
+#pragma interface
+
+#include <gnu/java/awt/peer/gtk/GtkGenericPeer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ namespace peer
+ {
+ namespace gtk
+ {
+ class GtkDropTargetContextPeer;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTarget;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::dnd::peer::gtk::GtkDropTargetContextPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public:
+ GtkDropTargetContextPeer(::java::lang::Object *);
+ virtual void setTargetActions(jint);
+ virtual jint getTargetActions();
+ virtual ::java::awt::dnd::DropTarget * getDropTarget();
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
+ virtual ::java::awt::datatransfer::Transferable * getTransferable();
+ virtual jboolean isTransferableJVMLocal();
+ virtual void acceptDrag(jint);
+ virtual void rejectDrag();
+ virtual void acceptDrop(jint);
+ virtual void rejectDrop();
+ virtual void dropComplete(jboolean);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_dnd_peer_gtk_GtkDropTargetContextPeer__
diff --git a/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.h b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.h
new file mode 100644
index 000000000..a5797f252
--- /dev/null
+++ b/libjava/gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_awt_dnd_peer_gtk_GtkDropTargetPeer__
+#define __gnu_java_awt_dnd_peer_gtk_GtkDropTargetPeer__
+
+#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 GtkDropTargetPeer;
+ }
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DropTarget;
+ }
+ }
+ }
+}
+
+class gnu::java::awt::dnd::peer::gtk::GtkDropTargetPeer : public ::gnu::java::awt::peer::gtk::GtkGenericPeer
+{
+
+public:
+ GtkDropTargetPeer();
+ virtual void addDropTarget(::java::awt::dnd::DropTarget *);
+ virtual void removeDropTarget(::java::awt::dnd::DropTarget *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_awt_dnd_peer_gtk_GtkDropTargetPeer__