1. /*
  2. * @(#)DropTargetPeer.java 1.7 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.dnd.peer;
  11. import java.awt.dnd.DropTarget;
  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.7, 02/02/00
  21. * @since 1.2
  22. *
  23. */
  24. public interface DropTargetPeer {
  25. /**
  26. * Add the DropTarget to the System
  27. *
  28. * @param dt The DropTarget effected
  29. */
  30. void addDropTarget(DropTarget dt);
  31. /**
  32. * Remove the DropTarget from the system
  33. *
  34. * @param dt The DropTarget effected
  35. */
  36. void removeDropTarget(DropTarget dt);
  37. }