/* * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.dnd.peer; import java.awt.dnd.DropTarget; /** * <p> * The DropTargetPeer class is the interface to the platform dependent * DnD facilities. Since the DnD system is based on the native platform's * facilities, a DropTargetPeer will be associated with a ComponentPeer * of the nearsest enclosing native Container (in the case of lightweights) * </p> * * @since 1.2 * */ public interface DropTargetPeer { /** * Add the DropTarget to the System * * @param dt The DropTarget effected */ void addDropTarget(DropTarget dt); /** * Remove the DropTarget from the system * * @param dt The DropTarget effected */ void removeDropTarget(DropTarget dt); }