Class EventDialogCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.EventDialogCustomizer
Called whenever a Calender needs to show the EventDialog, to view or create a CalendarEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Calendar in which the EventDialog is being displayed.void
setCalendar
(Calendar calendar) abstract boolean
showEventDialog
(CalendarEvent calendarEvent, Boolean isNewEvent) showEventDialog() can be used to show some custom user interface for viewing or creating calendar events.
-
Constructor Details
-
EventDialogCustomizer
public EventDialogCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar in which the EventDialog is being displayed. To access the current view, use getCalendar().getSelectedView().- Returns:
- Calendar in which the EventDialog is being displayed
-
showEventDialog
showEventDialog() can be used to show some custom user interface for viewing or creating calendar events.- Parameters:
calendarEvent
- the event to editisNewEvent
- true for a new event - if true, calendarEvent represents defaults for the new event- Returns:
- false to prevent the default Event Dialog from showing
-