|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.allen_sauer.gwt.dnd.client.DragHandlerAdapter
public class DragHandlerAdapter
Convenience class for anonymous inner classes not wishing to define all methods required by the
DragHandler interface.
| Constructor Summary | |
|---|---|
DragHandlerAdapter()
|
|
| 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 DragHandler.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 DragHandler.onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DragHandlerAdapter()
| Method Detail |
|---|
public void onDragEnd(DragEndEvent event)
DragHandler
onDragEnd in interface DragHandlerevent - an event object containing information about the drag operationpublic void onDragStart(DragStartEvent event)
DragHandler
onDragStart in interface DragHandlerevent - an event object containing information about the drag operation
public void onPreviewDragEnd(DragEndEvent event)
throws VetoDragException
DragHandlerDragHandler.onDragEnd(DragEndEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation.
onPreviewDragEnd in interface DragHandlerevent - an event object containing information about the drag operation
VetoDragException - when the drag operation is unacceptable
public void onPreviewDragStart(DragStartEvent event)
throws VetoDragException
DragHandlerDragHandler.onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation.
onPreviewDragStart in interface DragHandlerevent - 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 | |||||||||