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