1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_dnd_DropTarget__
|
5 |
|
|
#define __java_awt_dnd_DropTarget__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Component;
|
17 |
|
|
class Point;
|
18 |
|
|
namespace datatransfer
|
19 |
|
|
{
|
20 |
|
|
class FlavorMap;
|
21 |
|
|
}
|
22 |
|
|
namespace dnd
|
23 |
|
|
{
|
24 |
|
|
class DropTarget;
|
25 |
|
|
class DropTarget$DropTargetAutoScroller;
|
26 |
|
|
class DropTargetContext;
|
27 |
|
|
class DropTargetDragEvent;
|
28 |
|
|
class DropTargetDropEvent;
|
29 |
|
|
class DropTargetEvent;
|
30 |
|
|
class DropTargetListener;
|
31 |
|
|
namespace peer
|
32 |
|
|
{
|
33 |
|
|
class DropTargetPeer;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
namespace peer
|
37 |
|
|
{
|
38 |
|
|
class ComponentPeer;
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
|
44 |
|
|
class java::awt::dnd::DropTarget : public ::java::lang::Object
|
45 |
|
|
{
|
46 |
|
|
|
47 |
|
|
public:
|
48 |
|
|
DropTarget();
|
49 |
|
|
DropTarget(::java::awt::Component *, ::java::awt::dnd::DropTargetListener *);
|
50 |
|
|
DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *);
|
51 |
|
|
DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *, jboolean);
|
52 |
|
|
DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *, jboolean, ::java::awt::datatransfer::FlavorMap *);
|
53 |
|
|
virtual void setComponent(::java::awt::Component *);
|
54 |
|
|
virtual ::java::awt::Component * getComponent();
|
55 |
|
|
virtual void setDefaultActions(jint);
|
56 |
|
|
virtual jint getDefaultActions();
|
57 |
|
|
virtual void setActive(jboolean);
|
58 |
|
|
virtual jboolean isActive();
|
59 |
|
|
virtual void addDropTargetListener(::java::awt::dnd::DropTargetListener *);
|
60 |
|
|
virtual void removeDropTargetListener(::java::awt::dnd::DropTargetListener *);
|
61 |
|
|
virtual void dragEnter(::java::awt::dnd::DropTargetDragEvent *);
|
62 |
|
|
virtual void dragOver(::java::awt::dnd::DropTargetDragEvent *);
|
63 |
|
|
virtual void dropActionChanged(::java::awt::dnd::DropTargetDragEvent *);
|
64 |
|
|
virtual void dragExit(::java::awt::dnd::DropTargetEvent *);
|
65 |
|
|
virtual void drop(::java::awt::dnd::DropTargetDropEvent *);
|
66 |
|
|
virtual ::java::awt::datatransfer::FlavorMap * getFlavorMap();
|
67 |
|
|
virtual void setFlavorMap(::java::awt::datatransfer::FlavorMap *);
|
68 |
|
|
virtual void addNotify(::java::awt::peer::ComponentPeer *);
|
69 |
|
|
virtual void removeNotify(::java::awt::peer::ComponentPeer *);
|
70 |
|
|
virtual ::java::awt::dnd::DropTargetContext * getDropTargetContext();
|
71 |
|
|
public: // actually protected
|
72 |
|
|
virtual ::java::awt::dnd::DropTargetContext * createDropTargetContext();
|
73 |
|
|
virtual ::java::awt::dnd::DropTarget$DropTargetAutoScroller * createDropTargetAutoScroller(::java::awt::Component *, ::java::awt::Point *);
|
74 |
|
|
virtual void initializeAutoscrolling(::java::awt::Point *);
|
75 |
|
|
virtual void updateAutoscroll(::java::awt::Point *);
|
76 |
|
|
virtual void clearAutoscroll();
|
77 |
|
|
private:
|
78 |
|
|
static const jlong serialVersionUID = -6283860791671019047LL;
|
79 |
|
|
::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) component;
|
80 |
|
|
::java::awt::datatransfer::FlavorMap * flavorMap;
|
81 |
|
|
jint actions;
|
82 |
|
|
::java::awt::dnd::peer::DropTargetPeer * peer;
|
83 |
|
|
::java::awt::dnd::DropTargetContext * dropTargetContext;
|
84 |
|
|
::java::awt::dnd::DropTargetListener * dropTargetListener;
|
85 |
|
|
::java::awt::dnd::DropTarget$DropTargetAutoScroller * autoscroller;
|
86 |
|
|
jboolean active;
|
87 |
|
|
public:
|
88 |
|
|
static ::java::lang::Class class$;
|
89 |
|
|
};
|
90 |
|
|
|
91 |
|
|
#endif // __java_awt_dnd_DropTarget__
|