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

Public Member Functions

 CalendarView ()
 
void refreshModel ()
 
CalendarMode getMode ()
 
void setMode (CalendarMode mode)
 
void setMode (String key)
 
void afterCompose ()
 
void previousPage ()
 
void nextPage ()
 

Static Public Member Functions

static void showCalendar (CalendarEventCallback eventCreateCallback)
 

Detailed Description

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

Definition at line 36 of file CalendarView.java.

Constructor & Destructor Documentation

◆ CalendarView()

org.turro.calendar.CalendarView.CalendarView ( )

Definition at line 40 of file CalendarView.java.

40  {
41  setFirstDayOfWeek(Calendar.getInstance(Application.getUsedLocale()).getFirstDayOfWeek());
42  }
Here is the call graph for this function:

Member Function Documentation

◆ afterCompose()

void org.turro.calendar.CalendarView.afterCompose ( )

Definition at line 66 of file CalendarView.java.

66  {
67  refreshModel();
68  }
Here is the call graph for this function:

◆ getMode()

CalendarMode org.turro.calendar.CalendarView.getMode ( )

Definition at line 51 of file CalendarView.java.

51  {
52  return mode;
53  }
Here is the caller graph for this function:

◆ nextPage()

void org.turro.calendar.CalendarView.nextPage ( )

Definition at line 77 of file CalendarView.java.

77  {
78  super.nextPage();
79  refreshModel();
80  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previousPage()

void org.turro.calendar.CalendarView.previousPage ( )

Definition at line 71 of file CalendarView.java.

71  {
72  super.previousPage();
73  refreshModel();
74  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshModel()

void org.turro.calendar.CalendarView.refreshModel ( )

Definition at line 44 of file CalendarView.java.

44  {
45  UserCalendarModel calendarModel = new UserCalendarModel();
46  calendarModel.setICalendarEventList(CalendarPlugin.getCalendarFor(
47  Authentication.getIContact(), getBeginDate(), getEndDate()));
48  setModel(calendarModel);
49  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMode() [1/2]

void org.turro.calendar.CalendarView.setMode ( CalendarMode  mode)

Definition at line 55 of file CalendarView.java.

55  {
56  this.mode = mode;
57  setDays(mode.getDays());
58  setMold(mode.getMold());
59  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMode() [2/2]

void org.turro.calendar.CalendarView.setMode ( String  key)

Definition at line 61 of file CalendarView.java.

61  {
62  setMode(CalendarMode.getByKey(key));
63  }
void setMode(CalendarMode mode)
Here is the call graph for this function:

◆ showCalendar()

static void org.turro.calendar.CalendarView.showCalendar ( CalendarEventCallback  eventCreateCallback)
static

Definition at line 82 of file CalendarView.java.

82  {
83  Map<String, Object> args = new HashMap<>();
84  args.put("eventCallback", eventCreateCallback);
85  ElephantMenu.showModalZulFile("Calendar", "/calendar/calendarModal.zul", args, null);
86  }
Here is the call graph for this function:
Here is the caller graph for this function:

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