summaryrefslogtreecommitdiff
path: root/libjava/java/awt/dnd/DropTargetContext.h
blob: f6ea29be31d2654d83d9cfb0a57b67fd020332cd (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_dnd_DropTargetContext__
#define __java_awt_dnd_DropTargetContext__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
      namespace datatransfer
      {
          class DataFlavor;
          class Transferable;
      }
      namespace dnd
      {
          class DropTarget;
          class DropTargetContext;
        namespace peer
        {
            class DropTargetContextPeer;
        }
      }
    }
  }
}

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

public: // actually package-private
  DropTargetContext(::java::awt::dnd::DropTarget *);
public:
  virtual ::java::awt::dnd::DropTarget * getDropTarget();
  virtual ::java::awt::Component * getComponent();
  virtual void addNotify(::java::awt::dnd::peer::DropTargetContextPeer *);
  virtual void removeNotify();
public: // actually protected
  virtual void setTargetActions(jint);
  virtual jint getTargetActions();
public:
  virtual void dropComplete(jboolean);
public: // actually protected
  virtual void acceptDrag(jint);
  virtual void rejectDrag();
  virtual void acceptDrop(jint);
  virtual void rejectDrop();
  virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getCurrentDataFlavors();
  virtual ::java::util::List * getCurrentDataFlavorsAsList();
  virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
  virtual ::java::awt::datatransfer::Transferable * getTransferable();
  virtual ::java::awt::datatransfer::Transferable * createTransferableProxy(::java::awt::datatransfer::Transferable *, jboolean);
public: // actually package-private
  static const jlong serialVersionUID = -634158968993743371LL;
private:
  ::java::awt::dnd::DropTarget * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dropTarget;
  jint targetActions;
  ::java::awt::dnd::peer::DropTargetContextPeer * dtcp;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_dnd_DropTargetContext__