1. /*
  2. * @(#)DropTargetPeer.java 1.9 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt.dnd.peer;
  8. import java.awt.dnd.DropTarget;
  9. /**
  10. * <p>
  11. * The DropTargetPeer class is the interface to the platform dependent
  12. * DnD facilities. Since the DnD system is based on the native platform's
  13. * facilities, a DropTargetPeer will be associated with a ComponentPeer
  14. * of the nearsest enclosing native Container (in the case of lightweights)
  15. * </p>
  16. *
  17. * @version 1.9, 01/23/03
  18. * @since 1.2
  19. *
  20. */
  21. public interface DropTargetPeer {
  22. /**
  23. * Add the DropTarget to the System
  24. *
  25. * @param dt The DropTarget effected
  26. */
  27. void addDropTarget(DropTarget dt);
  28. /**
  29. * Remove the DropTarget from the system
  30. *
  31. * @param dt The DropTarget effected
  32. */
  33. void removeDropTarget(DropTarget dt);
  34. }