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

Public Member Functions

void onClick $butDay ()
 
void onClick $butWeek ()
 
void onClick $butMonth ()
 
void onClick $butPrior ()
 
void onClick $butNext ()
 
void onClick $butToday ()
 
void onDayClick $calendar (ForwardEvent event)
 
void onChange $currentBox ()
 
void doAfterCompose (Component comp) throws Exception
 

Detailed Description

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

Definition at line 37 of file CalendarInfoComposer.java.

Member Function Documentation

◆ $butDay()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butDay ( )

Definition at line 43 of file CalendarInfoComposer.java.

43  {
44  calendar.setMode(CalendarMode.DAY_MODE);
45  calendar.refreshModel();
46  setCurrentDate();
47  }
void setMode(CalendarMode mode)
Here is the call graph for this function:

◆ $butMonth()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butMonth ( )

Definition at line 55 of file CalendarInfoComposer.java.

55  {
56  calendar.setMode(CalendarMode.MONTH_MODE);
57  calendar.refreshModel();
58  setCurrentDate();
59  }
Here is the call graph for this function:

◆ $butNext()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butNext ( )

Definition at line 66 of file CalendarInfoComposer.java.

66  {
67  calendar.nextPage();
68  setCurrentDate();
69  }
Here is the call graph for this function:

◆ $butPrior()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butPrior ( )

Definition at line 61 of file CalendarInfoComposer.java.

61  {
62  calendar.previousPage();
63  setCurrentDate();
64  }
Here is the call graph for this function:

◆ $butToday()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butToday ( )

Definition at line 71 of file CalendarInfoComposer.java.

71  {
72  calendar.setCurrentDate(java.util.Calendar.getInstance().getTime());
73  calendar.refreshModel();
74  setCurrentDate();
75  }
Here is the call graph for this function:

◆ $butWeek()

void onClick org.turro.calendar.info.CalendarInfoComposer.$butWeek ( )

Definition at line 49 of file CalendarInfoComposer.java.

49  {
50  calendar.setMode(CalendarMode.WEEK_MODE);
51  calendar.refreshModel();
52  setCurrentDate();
53  }
Here is the call graph for this function:

◆ $calendar()

void onDayClick org.turro.calendar.info.CalendarInfoComposer.$calendar ( ForwardEvent  event)

Definition at line 77 of file CalendarInfoComposer.java.

77  {
78  calendar.setCurrentDate((Date) event.getOrigin().getData());
79  if(calendar.getMode() == CalendarMode.MONTH_MODE) {
80  calendar.setMode(CalendarMode.WEEK_MODE);
81  } else if(calendar.getMode() == CalendarMode.WEEK_MODE) {
82  calendar.setMode(CalendarMode.DAY_MODE);
83  }
84  calendar.refreshModel();
85  setCurrentDate();
86  }
Here is the call graph for this function:

◆ $currentBox()

void onChange org.turro.calendar.info.CalendarInfoComposer.$currentBox ( )

Definition at line 88 of file CalendarInfoComposer.java.

88  {
89  calendar.setCurrentDate(currentBox.getValue());
90  calendar.refreshModel();
91  setCurrentDate();
92  }
Here is the call graph for this function:

◆ doAfterCompose()

void org.turro.calendar.info.CalendarInfoComposer.doAfterCompose ( Component  comp) throws Exception

Definition at line 115 of file CalendarInfoComposer.java.

115  {
116  super.doAfterCompose(comp);
117  setCurrentDate();
118  }

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