Package com.smartgwt.client.widgets.calendar

# Class EventStyleCustomizer

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

public abstract class EventStyleCustomizer extends Object
Called to determine the CSS class name for a given event in a given view

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventStyleCustomizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract 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 Details

  - ### EventStyleCustomizer

    public EventStyleCustomizer()

- ## Method Details

  - ### getEventStyle

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