Searched refs:calendarPanel (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarFrame.java | 101 private CalendarPanel calendarPanel; field in CalendarFrame 160 calendarPanel.setDate( new Date() ); in init() 212 calendarPanel.setLocale( loc ); in init() 241 calendarPanel = new CalendarPanel( locales[displayMenu.getSelectedIndex()] ); in init() 242 add("Center", calendarPanel); in init() 245 calendarPanel.setCalendar(i, calendars[i]); in init() 246 calendarPanel.setColor(i, COLORS[i]); in init() 273 monthLabel[i].setText( monthFormat[i].format( calendarPanel.firstOfMonth() )); in updateMonthName() 303 calendarPanel.setCalendar(j, calendars[j]); in itemStateChanged() 316 calendarPanel.setCalendar(i, newCal); in itemStateChanged() [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayCalendarDemo.java | 169 private CalendarPanel calendarPanel; field in HolidayCalendarDemo.CalendarFrame 325 calendarPanel = new CalendarPanel( kFirstLocale ); in buildGUI() 326 add("Center", calendarPanel); in buildGUI() 333 final Locale displayLocale = calendarPanel.getDisplayLocale(); in updateMonthName() 338 f.setCalendar(calendarPanel.getCalendar()); in updateMonthName() 339 monthLabel.setText( f.format( calendarPanel.firstOfMonth() )); in updateMonthName() 354 calendarPanel.add(Calendar.MONTH, +1); in actionPerformed() 358 calendarPanel.add(Calendar.MONTH, -1); in actionPerformed() 362 calendarPanel.add(Calendar.YEAR, -1); in actionPerformed() 366 calendarPanel.add(Calendar.YEAR, +1); in actionPerformed() [all …]
|