Package com.smartgwt.client.widgets.calendar

# Class DateStyleCustomizer

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

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DateStyleCustomizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getDateStyle(Date date, int rowNum, int colNum, CalendarView calendarView)`
  getDateStyle() should be implemented and return the CSS class name for passed date-cell in the passed view.

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

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

- ## Constructor Details

  - ### DateStyleCustomizer

    public DateStyleCustomizer()

- ## Method Details

  - ### getDateStyle

    public abstract String getDateStyle(Date date, int rowNum, int colNum, CalendarView calendarView)
    getDateStyle() should be implemented and return the CSS class name for passed date-cell 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 passed date-cell in the passed view