13a14,15 > import java.awt.datatransfer.*; > import java.awt.dnd.*; 23,23c25,25 < * @author C.L.Gilbert --- > * @author CL.Gilbert 26a29,35 > // public void setDragSourceState(boolean state); > public void DNDInitialize(DragGestureListener dgl); > public void DNDDeinitialize(); > /** > * When the DNDTool starts a drag action, it queries the interface for the > * dragSourceListener of the source view. It uses this listener to create > * the dragGestureEvent. 27,69d28 < < public boolean setDragSourceActive(boolean state); < public boolean setDropTargetActive(boolean state); < < /** < * This method returns the set of DND actions which are accepted by this < * Component. < * @see java.awt.dnd.DnDConstants < */ < // public int getDefaultDNDActions(); < < /** < * This method returns the set of gestures which can be initiated by this < * Component; < * < * @see java.awt.dnd.DnDConstants < */ < // public int getDragGestures(); < < /** < * This method returns the set of DataFlavors accepted by this component. < * These DataFlavors must be chosen from those implemented by the class < * DragNDropTool getDataFlavors() < * < * @see DragNDropTool#getDataFlavors < * @see java.awt.datatransfer.DataFlavor < */ < // public DataFlavor[] getTransferDataFlavors(); < < /** < * This method returns true if the parameter flavor is a supported < * DataFlavor. A DataFlavor is a different form of the same Data. Two < * seperate components could receive the same Data but in different < * DataFlavors depending on what they implement that the formats the < * Transferable can provide from its contained data. < */ < // public boolean isDataFlavorSupported(DataFlavor flavor); < /** < * When data is received which implements one of the acceptable DataFlavors < * for this component and is an acceptable drop action, the Transferable < * which contains the data of the drop will be passed into this function. < * If successfully processed, the user should return true. return false < * otherwise. 70a37,37 > public DragSourceListener getDragSourceListener(); 71,71d36 < // public boolean acceptDrop(Transferable trans);