aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/dnd/DropTarget.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2002-10-03 14:40:43 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2002-10-03 14:40:43 +0000
commite37383993dd7fdd71cbb33b84898bdde368c35af (patch)
tree97606a77a4158cc8724b7910bf112687a1d71b4d /libjava/java/awt/dnd/DropTarget.java
parenta8e8f5c359b655106f4d59afc99315d0bb420040 (diff)
downloadgcc-e37383993dd7fdd71cbb33b84898bdde368c35af.zip
gcc-e37383993dd7fdd71cbb33b84898bdde368c35af.tar.gz
gcc-e37383993dd7fdd71cbb33b84898bdde368c35af.tar.bz2
Autoscroll.java: New file, merge from Classpath.
2002-10-03 Michael Koch <konqueror@gmx.de> * java/awt/dnd/Autoscroll.java: New file, merge from Classpath. * java/awt/dnd/DragSourceAdapter.java: (dragExit): Fixed typos in argument type. (dragDropEnd): Fixed typos in argument type. * java/awt/dnd/DragSourceDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTarget.java: Added stubs, merge from Classpath. * java/awt/dnd/DropTargetAdapter.java: New file, merge from Classpath. * java/awt/dnd/DropTargetContext.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDragEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetListener.java: New file, merge from Classpath. * java/awt/dnd/MouseDragGestureRecognizer.java: New file, merge from Classpath. * java/awt/dnd/peer/DropTargetContextPeer.java: New file, merge from Classpath. From-SVN: r57777
Diffstat (limited to 'libjava/java/awt/dnd/DropTarget.java')
-rw-r--r--libjava/java/awt/dnd/DropTarget.java182
1 files changed, 180 insertions, 2 deletions
diff --git a/libjava/java/awt/dnd/DropTarget.java b/libjava/java/awt/dnd/DropTarget.java
index 9ae4234..9d81745 100644
--- a/libjava/java/awt/dnd/DropTarget.java
+++ b/libjava/java/awt/dnd/DropTarget.java
@@ -36,5 +36,183 @@ obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package java.awt.dnd;
-/** STUB CLASS ONLY */
-public class DropTarget {}
+
+import java.awt.Point;
+import java.awt.Component;
+import java.awt.datatransfer.FlavorMap;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.util.TooManyListenersException;
+
+public class DropTarget
+{
+ protected static class DropTargetAutoScroller
+ implements ActionListener
+ {
+ protected DropTargetAutoScroller (Component c, Point p)
+ {
+ }
+
+ protected void updateLocation (Point newLocn)
+ {
+ }
+
+ protected void stop ()
+ {
+ }
+
+ public void actionPerformed (ActionEvent e)
+ {
+ }
+ }
+
+ /**
+ * FIXME
+ *
+ * @exception HeadlessException FIXME
+ */
+ public DropTarget ()
+ {
+ }
+
+ /**
+ * FIXME
+ *
+ * @exception HeadlessException FIXME
+ */
+ public DropTarget (Component c, DropTargetListener dtl)
+ {
+ }
+
+ /**
+ * FIXME
+ *
+ * @exception HeadlessException FIXME
+ */
+ public DropTarget (Component c, int i, DropTargetListener dtl)
+ {
+ }
+
+ /**
+ * FIXME
+ *
+ * @exception HeadlessException FIXME
+ */
+ public DropTarget (Component c, int i, DropTargetListener dtl, boolean b)
+ {
+ }
+
+ /**
+ * FIXME
+ *
+ * @exception HeadlessException FIXME
+ */
+ public DropTarget (Component c, int i, DropTargetListener dtl, boolean b,
+ FlavorMap fm)
+ {
+ }
+
+ public void setComponent (Component c)
+ {
+ }
+
+ public Component getComponent ()
+ {
+ return null;
+ }
+
+ public void setDefaultActions (int ops)
+ {
+ }
+
+ public int getDefaultActions ()
+ {
+ return 0;
+ }
+
+ public void setActive(boolean isActive)
+ {
+ }
+
+ public boolean isActive()
+ {
+ return false;
+ }
+
+ /**
+ * @exception TooManyListenersException FIXME
+ */
+ public void addDropTargetListener (DropTargetListener dtl)
+ throws TooManyListenersException
+ {
+ }
+
+ public void removeDropTargetListener(DropTargetListener dtl)
+ {
+ }
+
+ public void dragEnter(DropTargetDragEvent dtde)
+ {
+ }
+
+ public void dragOver(DropTargetDragEvent dtde)
+ {
+ }
+
+ public void dropActionChanged(DropTargetDragEvent dtde)
+ {
+ }
+
+ public void dragExit(DropTargetEvent dte)
+ {
+ }
+
+ public void drop(DropTargetDropEvent dtde)
+ {
+ }
+
+ public FlavorMap getFlavorMap()
+ {
+ return null;
+ }
+
+ public void setFlavorMap(FlavorMap fm)
+ {
+ }
+
+ public void addNotify(java.awt.peer.ComponentPeer peer)
+ {
+ }
+
+ public void removeNotify(java.awt.peer.ComponentPeer peer)
+ {
+ }
+
+ public DropTargetContext getDropTargetContext()
+ {
+ return null;
+ }
+
+ protected DropTargetContext createDropTargetContext()
+ {
+ return null;
+ }
+
+ protected DropTarget.DropTargetAutoScroller createDropTargetAutoScroller
+ (Component c, Point p)
+ {
+ return null;
+ }
+
+ protected void initializeAutoscrolling(Point p)
+ {
+ }
+
+ protected void updateAutoscroll(Point dragCursorLocn)
+ {
+ }
+
+ protected void clearAutoscroll()
+ {
+ }
+} // class DropTarget