public class FeedbackDragAndDropListener extends java.lang.Object implements DragAndDropListener
addFeedbackDragAndDropListener method. When
the feedbackDragAndDrop event occurs, that object's appropriate
method is invoked.
FeedbackDragAndDropEvent
Constructor and Description |
---|
FeedbackDragAndDropListener(FeedbackItem feedbackItem,
IStage stage,
java.util.logging.Logger log)
Instantiates a new feedback drag and drop listener.
|
Modifier and Type | Method and Description |
---|---|
void |
itemDraggedAndDropped(IItem itemDropped,
IItem onto,
int indexOfDrop) |
public FeedbackDragAndDropListener(FeedbackItem feedbackItem, IStage stage, java.util.logging.Logger log)
feedbackItem
- the feedback itemstage
- the stagelog
- the logpublic void itemDraggedAndDropped(IItem itemDropped, IItem onto, int indexOfDrop)
itemDraggedAndDropped
in interface DragAndDropListener
itemDropped
- Item that was dropped onto drag destination.onto
- Drag destination dropped onto.indexOfDrop
- If the item was on top, this will be zero, otherwise,
how far underneath the top item.