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