public class GenericDragEventHandler extends Object implements com.google.gwt.event.dom.client.MouseDownHandler, com.google.gwt.event.dom.client.MouseUpHandler, com.google.gwt.event.dom.client.MouseMoveHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericDragEventHandler.DragAction<D extends GenericDragEventHandler.Draggable<?>>
The contract to implement the logic associated to a drag action
|
static class |
GenericDragEventHandler.DragAndDropFeature
Features offered by existing drag and drop capabilities
|
static interface |
GenericDragEventHandler.Draggable<K extends com.google.gwt.user.client.ui.IsWidget & com.google.gwt.event.dom.client.HasAllMouseHandlers>
The contract to implement a widget which can be resized
|
| Constructor and Description |
|---|
GenericDragEventHandler(GenericDragEventHandler.DragAction<?> action) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(GenericDragEventHandler.Draggable<?> draggable)
Apply this handler to a given draggable
|
void |
onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event) |
void |
onMouseMove(com.google.gwt.event.dom.client.MouseMoveEvent event) |
void |
onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event) |
public GenericDragEventHandler(GenericDragEventHandler.DragAction<?> action)
action - public void applyTo(GenericDragEventHandler.Draggable<?> draggable)
draggable - public void onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
onMouseDown in interface com.google.gwt.event.dom.client.MouseDownHandlerpublic void onMouseMove(com.google.gwt.event.dom.client.MouseMoveEvent event)
onMouseMove in interface com.google.gwt.event.dom.client.MouseMoveHandlerpublic void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
onMouseUp in interface com.google.gwt.event.dom.client.MouseUpHandlerCopyright © 2014. All rights reserved.