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

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
Calendar

public interface HasDayHeaderClickHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addDayHeaderClickHandler(DayHeaderClickHandler handler)
          Called when the header area of a day in the month view is clicked on.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addDayHeaderClickHandler

HandlerRegistration addDayHeaderClickHandler(DayHeaderClickHandler handler)
Called when the header area of a day in the month view is clicked on.

By default, moves to the day tab and shows the clicked days events. Call DayHeaderClickEvent.cancel() from within DayHeaderClickHandler.onDayHeaderClick(com.smartgwt.client.widgets.calendar.events.DayHeaderClickEvent) to cancel this action.

Not called if the day falls outside the current month and showOtherDays is false.

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