Class DateCSSTextCustomizer

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

public abstract class DateCSSTextCustomizer extends Object
Called to determine additional CSS text for a given date in a given view
  • Constructor Details

    • DateCSSTextCustomizer

      public DateCSSTextCustomizer()
  • Method Details

    • getDateCSSText

      public abstract String getDateCSSText(Date date, int rowNum, int colNum, CalendarView calendarView)
      getDateCSSText() should be implemented and return additional CSS text to apply to the passed date in the passed view. To access the Calendar itself, use calendarView.getCalendar().
      Parameters:
      date - the date to return CSS text 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 appears
      Returns:
      CSS class to apply to the cell associated with the passed date in the passed view