Interface DragStartHandler

All Superinterfaces:
EventHandler

public interface DragStartHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executed when dragging first starts.
  • Method Details

    • onDragStart

      void onDragStart(DragStartEvent event)
      Executed when dragging first starts. Your widget can use this opportunity to set things up for the drag, such as setting the drag tracker. Returning false from this event handler will cancel the drag action entirely.

      A drag action is considered to be begin when the mouse has moved dragStartDistance with the left mouse down.

      Parameters:
      event - the event