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