BrightSide Workbench Full Report + Source Code
org.turro.calendar.info.CalendarInfo Class Reference
Inheritance diagram for org.turro.calendar.info.CalendarInfo:
Collaboration diagram for org.turro.calendar.info.CalendarInfo:

Public Member Functions

 CalendarInfo ()
 
void refreshModel ()
 
String getArgs ()
 
void setArgs (String args)
 
CalendarMode getMode ()
 
void setMode (CalendarMode mode)
 
void setMode (String key)
 
void afterCompose ()
 
void previousPage ()
 
void nextPage ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 38 of file CalendarInfo.java.

Constructor & Destructor Documentation

◆ CalendarInfo()

org.turro.calendar.info.CalendarInfo.CalendarInfo ( )

Definition at line 43 of file CalendarInfo.java.

43  {
44  setFirstDayOfWeek(Calendar.getInstance(Application.getUsedLocale()).getFirstDayOfWeek());
45  }
Here is the call graph for this function:

Member Function Documentation

◆ afterCompose()

void org.turro.calendar.info.CalendarInfo.afterCompose ( )

Definition at line 81 of file CalendarInfo.java.

81  {
82  refreshModel();
83  }
Here is the call graph for this function:

◆ getArgs()

String org.turro.calendar.info.CalendarInfo.getArgs ( )

Definition at line 58 of file CalendarInfo.java.

58  {
59  return args;
60  }

◆ getMode()

CalendarMode org.turro.calendar.info.CalendarInfo.getMode ( )

Definition at line 66 of file CalendarInfo.java.

66  {
67  return mode;
68  }
Here is the caller graph for this function:

◆ nextPage()

void org.turro.calendar.info.CalendarInfo.nextPage ( )

Definition at line 92 of file CalendarInfo.java.

92  {
93  super.nextPage();
94  refreshModel();
95  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previousPage()

void org.turro.calendar.info.CalendarInfo.previousPage ( )

Definition at line 86 of file CalendarInfo.java.

86  {
87  super.previousPage();
88  refreshModel();
89  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshModel()

void org.turro.calendar.info.CalendarInfo.refreshModel ( )

Definition at line 47 of file CalendarInfo.java.

47  {
48  try {
49  KeyValueMap kvm = new KeyValueMap(args);
50  UserCalendarModel calendarModel = new UserCalendarModel();
51  calendarModel.setICalendarEventList(Events.getPublicEvents(getBeginDate(), getEndDate(), kvm));
52  setModel(calendarModel);
53  } catch (ParserException ex) {
54  Logger.getLogger(CalendarInfo.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
55  }
56  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setArgs()

void org.turro.calendar.info.CalendarInfo.setArgs ( String  args)

Definition at line 62 of file CalendarInfo.java.

62  {
63  this.args = args;
64  }

◆ setMode() [1/2]

void org.turro.calendar.info.CalendarInfo.setMode ( CalendarMode  mode)

Definition at line 70 of file CalendarInfo.java.

70  {
71  this.mode = mode;
72  setDays(mode.getDays());
73  setMold(mode.getMold());
74  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMode() [2/2]

void org.turro.calendar.info.CalendarInfo.setMode ( String  key)

Definition at line 76 of file CalendarInfo.java.

76  {
77  setMode(CalendarMode.getByKey(key));
78  }
void setMode(CalendarMode mode)
Here is the call graph for this function:

The documentation for this class was generated from the following file: