com.smartgwt.client.widgets.calendar

## Class EventStyleCustomizer

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

-     public abstract class EventStyleCustomizer
      extends java.lang.Object

  Called to determine the CSS class name for a given event in a given view

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EventStyleCustomizer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract java.lang.String` | `getEventStyle(CalendarEvent calendarEvent, CalendarView calendarView)` getEventStyleStyle() should be implemented and return the CSS class name for the passed event in the passed view To access the Calendar itself, use calendarView.getCalendar().

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

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

- - ### Constructor Detail

    - #### EventStyleCustomizer

          public EventStyleCustomizer()

  - ### Method Detail

    - #### getEventStyle

          public abstract java.lang.String getEventStyle(CalendarEvent calendarEvent,
                                       CalendarView calendarView)

      getEventStyleStyle() should be implemented and return the CSS class name for the passed event in the passed view To access the Calendar itself, use calendarView.getCalendar().
      Parameters:
        `calendarEvent` - the event being rendered
        `calendarView` - the view in which the event is being rendered
      Returns:
        CSS class to apply to the EventCanvas for the passed event in the passed view