Class DateStyleCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.DateStyleCustomizer
Called to determine the CSS class name for a given date in a given view
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract 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.
-
Constructor Details
-
DateStyleCustomizer
public DateStyleCustomizer()
-
-
Method Details
-
getDateStyle
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 forrowNum
- the row number of the passed date in the passed viewcolNum
- the column number of the passed date in the passed viewcalendarView
- the view in which the date cell is being rendered- Returns:
- CSS class to apply to passed date-cell in the passed view
-