You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
949 B
60 lines
949 B
/*
|
|
* 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);
|
|
}
|