org.jesktop.appsupport
Interface DropAware


public interface DropAware

Implemented by Classes that can have items dropped on them.

Version:
1.0
Author:
Paul_Hammant@yahoo.com

Method Summary
 void anotherHasRecognizedDraggedItem(java.lang.Class cl)
          Method anotherHasRecognizedDraggedItem
 boolean doYouRecognizeDraggedItem(java.awt.Point pt, java.lang.Class cl)
          Method doYouRecognizeDraggedItem is used by the implementing app to indicate that the item being dragged is recognized by the app.
 void draggingStopped()
          Method draggingStopped
 void droppedOnYou(java.lang.Object obj)
          Method droppedOnYou
 

Method Detail

doYouRecognizeDraggedItem

public boolean doYouRecognizeDraggedItem(java.awt.Point pt,
                                         java.lang.Class cl)
Method doYouRecognizeDraggedItem is used by the implementing app to indicate that the item being dragged is recognized by the app.

Parameters:
pt - the point in screen co-ordinates.
cl - the class of the item being dragged.
Returns:

droppedOnYou

public void droppedOnYou(java.lang.Object obj)
Method droppedOnYou

Parameters:
obj -

anotherHasRecognizedDraggedItem

public void anotherHasRecognizedDraggedItem(java.lang.Class cl)
Method anotherHasRecognizedDraggedItem

Parameters:
cl -

draggingStopped

public void draggingStopped()
Method draggingStopped



Copyright © 2004 Jesktop Project. All Rights Reserved.