com.smartgwt.client.widgets.calendar

## Class DateStyleCustomizer

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

-     public abstract class DateStyleCustomizer
      extends java.lang.Object

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DateStyleCustomizer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract java.lang.String` | `getDateStyle(java.util.Date date, int rowNum, int colNum, CalendarView calendarView)` getDateStyleStyle() 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

    - #### DateStyleCustomizer

          public DateStyleCustomizer()

  - ### Method Detail

    - #### getDateStyle

          public abstract java.lang.String getDateStyle(java.util.Date date,
                                      int rowNum,
                                      int colNum,
                                      CalendarView calendarView)

      getDateStyleStyle() 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:
        `date` - the date to return a style name for
        `rowNum` - the row number of the passed date in the passed view
        `colNum` - the column number of the passed date in the passed view
        `calendarView` - the view in which the date cell is being rendered
      Returns:
        CSS class to apply to the cell associated with the passed date in the passed view