com.jp.comp.calendar
Class MonthCalendarController

java.lang.Object
  extended bycom.jp.comp.calendar.CalendarControllerAdapter
      extended bycom.jp.comp.calendar.MonthCalendarController
All Implemented Interfaces:
CalendarController

public class MonthCalendarController
extends CalendarControllerAdapter

MonthCalendarController performs navigation for the CalendarPanel

See Also:
CalendarPanel, MonthCalendarPanel

Field Summary
 
Fields inherited from class com.jp.comp.calendar.CalendarControllerAdapter
fCalendar, fColumn, fDay, fMonthType, fRow
 
Fields inherited from interface com.jp.comp.calendar.CalendarController
NAVIGATION_MONTH, NAVIGATION_WEEK, NAVIGATION_YEAR, SELECTION_COLUMN_CHANGED, SELECTION_DOWN_ARROW_PRESSED, SELECTION_LEFT_ARROW_PRESSED, SELECTION_RIGHT_ARROW_PRESSED, SELECTION_ROW_CHANGED, SELECTION_ROW_COLUMN_CHANGED, SELECTION_SHIFT_TAB_PRESSED, SELECTION_TAB_PRESSED, SELECTION_UP_ARROW_PRESSED
 
Constructor Summary
MonthCalendarController()
           
 
Method Summary
 void next(CalendarPanel aCalendarPanel, int aNavigationType)
          Performs different types of next navigation in the CalendarPanel.
protected  void nextMonthSelection(CalendarPanel aCalendarPanel, int aSelection)
          Does selection for previous month
 void previous(CalendarPanel aCalendarPanel, int aNavigationType)
          Performs different types of previous navigation in the CalendarPanel
protected  void previousMonthSelection(CalendarPanel aCalendarPanel, int aSelection)
          Does selection for previous month
 
Methods inherited from class com.jp.comp.calendar.CalendarControllerAdapter
currentMonthSelection, determineSelection, selectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonthCalendarController

public MonthCalendarController()
Method Detail

previousMonthSelection

protected void previousMonthSelection(CalendarPanel aCalendarPanel,
                                      int aSelection)
Does selection for previous month

Specified by:
previousMonthSelection in class CalendarControllerAdapter
Parameters:
aCalendarPanel - the instance of the CalendarPanel
aSelection - selection key

nextMonthSelection

protected void nextMonthSelection(CalendarPanel aCalendarPanel,
                                  int aSelection)
Does selection for previous month

Specified by:
nextMonthSelection in class CalendarControllerAdapter
Parameters:
aCalendarPanel - the instance of the CalendarPanel
aSelection - selection key

next

public void next(CalendarPanel aCalendarPanel,
                 int aNavigationType)
Performs different types of next navigation in the CalendarPanel.

Parameters:
aCalendarPanel - the instance of the CalendarPanel
aNavigationType - navigation type

previous

public void previous(CalendarPanel aCalendarPanel,
                     int aNavigationType)
Performs different types of previous navigation in the CalendarPanel

Parameters:
aCalendarPanel - the instance of the CalendarPanel
aNavigationType - navigation type