Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / awt / dnd / DropTargetDropEvent.h
blob08851b68cf4b2d336afed55496957af676ce8b56
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_dnd_DropTargetDropEvent__
5 #define __java_awt_dnd_DropTargetDropEvent__
7 #pragma interface
9 #include <java/awt/dnd/DropTargetEvent.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 class Point;
19 namespace datatransfer
21 class DataFlavor;
22 class Transferable;
24 namespace dnd
26 class DropTargetContext;
27 class DropTargetDropEvent;
33 class java::awt::dnd::DropTargetDropEvent : public ::java::awt::dnd::DropTargetEvent
36 public:
37 DropTargetDropEvent(::java::awt::dnd::DropTargetContext *, ::java::awt::Point *, jint, jint);
38 DropTargetDropEvent(::java::awt::dnd::DropTargetContext *, ::java::awt::Point *, jint, jint, jboolean);
39 virtual ::java::awt::Point * getLocation();
40 virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getCurrentDataFlavors();
41 virtual ::java::util::List * getCurrentDataFlavorsAsList();
42 virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
43 virtual jint getSourceActions();
44 virtual jint getDropAction();
45 virtual ::java::awt::datatransfer::Transferable * getTransferable();
46 virtual void acceptDrop(jint);
47 virtual void rejectDrop();
48 virtual void dropComplete(jboolean);
49 virtual jboolean isLocalTransfer();
50 private:
51 static const jlong serialVersionUID = -1721911170440459322LL;
52 jint __attribute__((aligned(__alignof__( ::java::awt::dnd::DropTargetEvent)))) dropAction;
53 jint actions;
54 ::java::awt::Point * location;
55 jboolean isLocalTx;
56 public:
57 static ::java::lang::Class class$;
60 #endif // __java_awt_dnd_DropTargetDropEvent__