/** * Refreshes the {@link DatePicker}, {@link CalendarView}, and * {@link CalendarModel}. */ protected void refreshAll() { getDatePicker().refreshAll(); }
/** * Sets the date picker to show the given month, use {@link #getFirstDate()} * and {@link #getLastDate()} to access the exact date range the date picker * chose to display. * <p> * A datepicker <b> may </b> show days not in the current month. It * <b>must</b> show all days in the current month. * </p> * * @param month the month to show */ public void setCurrentMonth(Date month) { getModel().setCurrentMonth(month); refreshAll(); }
protected void addMonths(int numMonths) { getModel().shiftCurrentMonth(numMonths); getDatePicker().refreshAll(); }
/** * Refreshes the {@link DatePicker}, {@link CalendarView}, and * {@link CalendarModel}. */ protected void refreshAll() { getDatePicker().refreshAll(); }
/** * Refreshes the {@link DatePicker}, {@link CalendarView}, and * {@link CalendarModel}. */ protected void refreshAll() { getDatePicker().refreshAll(); }
/** * Sets the date picker to show the given month, use {@link #getFirstDate()} * and {@link #getLastDate()} to access the exact date range the date picker * chose to display. * <p> * A datepicker <b> may </b> show days not in the current month. It * <b>must</b> show all days in the current month. * </p> * * @param month the month to show */ public void setCurrentMonth(Date month) { getModel().setCurrentMonth(month); refreshAll(); }
/** * Sets the date picker to show the given month, use {@link #getFirstDate()} * and {@link #getLastDate()} to access the exact date range the date picker * chose to display. * <p> * A datepicker <b> may </b> show days not in the current month. It * <b>must</b> show all days in the current month. * </p> * * @param month the month to show */ public void setCurrentMonth(Date month) { getModel().setCurrentMonth(month); refreshAll(); }
protected void addMonths(int numMonths) { getModel().shiftCurrentMonth(numMonths); getDatePicker().refreshAll(); }
protected void addMonths(int numMonths) { getModel().shiftCurrentMonth(numMonths); getDatePicker().refreshAll(); }