Closed GoogleCodeExporter closed 9 years ago
You can throw a VetoDragException in your DragHandler
Original comment by fredsa@google.com
on 25 Aug 2010 at 11:10
I tried to add code to throw a VetoDragException in my DragHandler but it seems
the only place to put VetoDragException is in onPreviewDrop which declares that
it throws VetoDragException. previewDragEnd catches VetoDragException and
behaves appropriately. But previewDragEnd is only called on mouse up.
But what I need and what the original post asked for was a way to press the
Escape key while still dragging (mouse up has yet to happen).
Original comment by ToonT...@gmail.com
on 4 May 2013 at 4:59
Original issue reported on code.google.com by
dsto...@gmail.com
on 16 Aug 2010 at 3:12