KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > dnd > peer > DropTargetPeer


1 /*
2  * @(#)DropTargetPeer.java 1.10 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.awt.dnd.peer;
9
10 import java.awt.dnd.DropTarget JavaDoc;
11
12 /**
13  * <p>
14  * The DropTargetPeer class is the interface to the platform dependent
15  * DnD facilities. Since the DnD system is based on the native platform's
16  * facilities, a DropTargetPeer will be associated with a ComponentPeer
17  * of the nearsest enclosing native Container (in the case of lightweights)
18  * </p>
19  *
20  * @version 1.10, 12/19/03
21  * @since 1.2
22  *
23  */

24
25 public interface DropTargetPeer {
26
27     /**
28      * Add the DropTarget to the System
29      *
30      * @param dt The DropTarget effected
31      */

32
33     void addDropTarget(DropTarget JavaDoc dt);
34
35     /**
36      * Remove the DropTarget from the system
37      *
38      * @param dt The DropTarget effected
39      */

40
41     void removeDropTarget(DropTarget JavaDoc dt);
42 }
43
Popular Tags