com.smartgwt.client.widgets.calendar.events

## Interface HasEventRepositionMoveHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    Calendar, Timeline

      public interface HasEventRepositionMoveHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HandlerRegistration` | `addEventRepositionMoveHandler(EventRepositionMoveHandler handler)` Notification called whenever the drop position of an event being drag-moved changes.

    - ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

      `fireEvent`

- - ### Method Detail

    - #### addEventRepositionMoveHandler

          HandlerRegistration addEventRepositionMoveHandler(EventRepositionMoveHandler handler)

      Notification called whenever the drop position of an event being drag-moved changes.

      The `newEvent` parameter represents the event as it will be after the move, including `start` and `end` dates and `lane` and `sublane` where applicable.

      Call `EventRepositionMove.cancel()` from within `EventRepositionMoveHandler.onEventRepositionMove(com.smartgwt.client.widgets.calendar.events.EventRepositionMove)` to prevent the default action, of positioning the drag canvas to the newEvent.

      Parameters:
        `handler` - the eventRepositionMove handler
      Returns:
        `HandlerRegistration` used to remove this handler