|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DragHandler
EventListener
interface for drag-and-drop events.
Method Summary | |
---|---|
void |
onDragEnd(DragEndEvent event)
Fired when drag operation terminates. |
void |
onDragStart(DragStartEvent event)
Fired when drag is initiated. |
void |
onPreviewDragEnd(DragEndEvent event)
Fired before onDragEnd(DragEndEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
void |
onPreviewDragStart(DragStartEvent event)
Fired before onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
Method Detail |
---|
void onDragEnd(DragEndEvent event)
event
- an event object containing information about the drag operationvoid onDragStart(DragStartEvent event)
event
- an event object containing information about the drag operationvoid onPreviewDragEnd(DragEndEvent event) throws VetoDragException
onDragEnd(DragEndEvent)
is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException
to prevent the operation.
event
- an event object containing information about the drag operation
VetoDragException
- when the drag operation is unacceptablevoid onPreviewDragStart(DragStartEvent event) throws VetoDragException
onDragStart(DragStartEvent)
is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException
to prevent the operation.
event
- an event object containing information about the drag operation
VetoDragException
- when the drag operation is unacceptable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |