com.smartgwt.client.widgets.calendar.events
Interface HasBackgroundMouseDownHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
Calendar

public interface HasBackgroundMouseDownHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addBackgroundMouseDownHandler(BackgroundMouseDownHandler handler)
          Callback fired when the mouse button is depressed over a background-cell, ie, one without an event.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addBackgroundMouseDownHandler

HandlerRegistration addBackgroundMouseDownHandler(BackgroundMouseDownHandler handler)
Callback fired when the mouse button is depressed over a background-cell, ie, one without an event. Call BackgroundMouseDownEvent.cancel() from within BackgroundMouseDownHandler.onBackgroundMouseDown(com.smartgwt.client.widgets.calendar.events.BackgroundMouseDownEvent) to cancel the default behavior of allowing sweep selection via dragging.

Parameters:
handler - the backgroundMouseDown handler
Returns:
HandlerRegistration used to remove this handler