Class DateCellAlignCustomizer

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

public abstract class DateCellAlignCustomizer extends Object
Called to determine the horizontal Alignment of the content in s given date cell in a CalendarView
  • 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 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:
      Alignment horizontal Alignment of the content in the passed date-cell in the passed view