com.smartgwt.client.widgets.calendar

## Class EventDialogCustomizer

- java.lang.Object
- - com.smartgwt.client.widgets.calendar.EventDialogCustomizer

-     public abstract class EventDialogCustomizer
      extends java.lang.Object

  Called whenever a Calender needs to show the EventDialog, to view or create a CalendarEvent

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EventDialogCustomizer()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Calendar` | `getCalendar()` Returns the Calendar in which the EventDialog is being displayed.
    `void` | `setCalendar(Calendar calendar)`
    `abstract boolean` | `showEventDialog(CalendarEvent calendarEvent, java.lang.Boolean isNewEvent)` showEventDialog() can be used to show some custom user interface for viewing or creating calendar events.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EventDialogCustomizer

          public EventDialogCustomizer()

  - ### Method Detail

    - #### setCalendar

          public void setCalendar(Calendar calendar)

    - #### getCalendar

          public Calendar 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

          public abstract boolean showEventDialog(CalendarEvent calendarEvent,
                                                  java.lang.Boolean isNewEvent)

      showEventDialog() can be used to show some custom user interface for viewing or creating calendar events.
      Parameters:
        `calendarEvent` - the event to edit
        `isNewEvent` - true for a new event - if true, calendarEvent represents defaults for the new event
      Returns:
        false to prevent the default Event Dialog from showing