Class DateCellVAlignCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.DateCellVAlignCustomizer
Called to determine the vertical Alignment of the content in s given date cell in a CalendarView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract VerticalAlignment
getDateCellVAlign
(Date date, int rowNum, int colNum, CalendarView calendarView) getDateCellVAlign() should be implemented and return the vertical Alignment for the content in the passed date-cell in the passed view To access the Calendar itself, use calendarView.getCalendar().
-
Constructor Details
-
DateCellVAlignCustomizer
public DateCellVAlignCustomizer()
-
-
Method Details
-
getDateCellVAlign
public abstract VerticalAlignment getDateCellVAlign(Date date, int rowNum, int colNum, CalendarView calendarView) getDateCellVAlign() should be implemented and return the vertical Alignment for the content in the passed date-cell in the passed view To access the Calendar itself, use calendarView.getCalendar().- Parameters:
date
- the date to return VerticalAlignment 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:
- Alignment VerticalAlignment of the content in the passed date-cell in the passed view
-