|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DragSourceListener
The DragSourceListener
class provides event notification to the application for DragSource events.
When the user drops data on a DropTarget
, the application which defines the DragSource
must provide the dropped data by implementing dragSetData
. In the dragSetData, the application
must support all the data types that were specified in the DragSource#setTransfer method.
After the drop has completed successfully or has been aborted, the application which defines the
DragSource
is required to take the appropriate cleanup action. In the case of a successful
move operation, the application must remove the data that was transferred.
Method Summary | |
---|---|
void |
dragFinished(DragSourceEvent event)
The drop has successfully completed(mouse up over a valid target) or has been terminated (such as hitting the ESC key). |
void |
dragSetData(DragSourceEvent event)
The data is required from the drag source. |
void |
dragStart(DragSourceEvent event)
The user has begun the actions required to drag the widget. |
Method Detail |
---|
void dragStart(DragSourceEvent event)
The following fields in the DragSourceEvent apply:
event
- the information associated with the drag start eventDragSourceEvent
void dragSetData(DragSourceEvent event)
The following fields in the DragSourceEvent apply:
event
- the information associated with the drag set data eventDragSourceEvent
void dragFinished(DragSourceEvent event)
The following fields in the DragSourceEvent apply:
event
- the information associated with the drag finished eventDragSourceEvent
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0