Interface DragRepositionStopHandler

All Superinterfaces:
EventHandler

public interface DragRepositionStopHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executed when the mouse button is released at the end of the drag.
  • Method Details

    • onDragRepositionStop

      void onDragRepositionStop(DragRepositionStopEvent event)
      Executed when the mouse button is released at the end of the drag. Your widget can use this opportunity to fire custom code based upon where the mouse button was released, etc.

      Returning true from this handler will cause the dragTarget (or outline if dragAppearance is set to "outline") to be left in its current location. Returning false from this handler will cause it to snap back to its original location.

      Parameters:
      event - the event