@Test public void testTodayUpdate() { JXMonthView monthView = new JXMonthView(); Date first = ((BasicMonthViewUI) monthView.getUI()).getToday(); monthView.updateUI(); assertEquals(first, ((BasicMonthViewUI) monthView.getUI()).getToday()); }
protected Date getToday() { return monthView.getToday(); }
BasicMonthViewUI extends MonthViewUI { protected Date getToday() { return monthView.getToday(); } }
BasicMonthViewUI extends MonthViewUI { protected Date getToday() { return monthView.getToday(); }  }
BasicMonthViewUI extends MonthViewUI { protected Date getToday() { return monthView.getToday(); }  @SuppressWarnings({ "UnusedDeclaration" }) static ComponentUI createUI(JComponent c); @Override void installUI(JComponent c); @Override void uninstallUI(JComponent c); @Override String[] getDaysOfTheWeek(); boolean isUsingKeyboard(); void setUsingKeyboard(boolean val); @Override Date getDayAtLocation(int x, int y); boolean isWeekOfYearCell(int x, int y); @Override void update(Graphics g, JComponent c); @Override void paint(Graphics g, JComponent c); @Override Date getLastDisplayedDay(); }
BasicMonthViewUI extends MonthViewUI { protected Date getToday() { return monthView.getToday(); }  @SuppressWarnings({ "UnusedDeclaration" }) static ComponentUI createUI(JComponent c); @Override void installUI(JComponent c); @Override void uninstallUI(JComponent c); @Override String[] getDaysOfTheWeek(); boolean isUsingKeyboard(); void setUsingKeyboard(boolean val); @Override Date getDayAtLocation(int x, int y); boolean isWeekOfYearCell(int x, int y); @Override void update(Graphics g, JComponent c); @Override void paint(Graphics g, JComponent c); @Override Date getLastDisplayedDay(); static final int MONTH_DOWN; static final int MONTH_UP; }