◆ $butCopy()
void onClick org.turro.calendar.CalendarComposer.$butCopy |
( |
| ) |
|
Definition at line 101 of file CalendarComposer.java.
102 Clients.showNotification(
103 I_.get(
"Copy to clipboard (Ctrl-C)") +
105 ElephantContext.getServerUrl(
"http") +
106 "/_reqxdc_/calendar?ses=" +
107 Strings.obfuscate(Authentication.getIContact().getId()),
◆ $butDay()
void onClick org.turro.calendar.CalendarComposer.$butDay |
( |
| ) |
|
◆ $butMonth()
void onClick org.turro.calendar.CalendarComposer.$butMonth |
( |
| ) |
|
◆ $butNext()
void onClick org.turro.calendar.CalendarComposer.$butNext |
( |
| ) |
|
◆ $butPrior()
void onClick org.turro.calendar.CalendarComposer.$butPrior |
( |
| ) |
|
◆ $butRefresh()
void onClick org.turro.calendar.CalendarComposer.$butRefresh |
( |
| ) |
|
◆ $butToday()
void onClick org.turro.calendar.CalendarComposer.$butToday |
( |
| ) |
|
Definition at line 89 of file CalendarComposer.java.
90 calendar.setCurrentDate(java.util.Calendar.getInstance().getTime());
◆ $butWeek()
void onClick org.turro.calendar.CalendarComposer.$butWeek |
( |
| ) |
|
◆ $calendar() [1/4]
void onEventEdit org.turro.calendar.CalendarComposer.$calendar |
( |
CalendarsEvent |
event | ) |
|
Definition at line 135 of file CalendarComposer.java.
136 UserCalendarEvent calendarEvent = (UserCalendarEvent) event.getCalendarEvent();
137 if(!Strings.isBlank(calendarEvent.getPath())) {
138 IElephantEntity iee = Entities.getController(calendarEvent.getPath());
139 Object entity = iee.getEntity();
◆ $calendar() [2/4]
void onEventCreate org.turro.calendar.CalendarComposer.$calendar |
( |
CalendarsEvent |
event | ) |
|
Definition at line 148 of file CalendarComposer.java.
149 if(calendarEventCallback !=
null) {
150 calendarEventCallback.
onCreate(event.getBeginDate(), event.getEndDate());
151 Events.postEvent(
new Event(Events.ON_CLOSE, Components.from(calendar).parent(Window.class)));
155 CalendarEventPlugin.getCalendarEventFor(
156 Authentication.getIContact(),
158 event.getBeginDate(), event.getEndDate(),
159 null, CalendarEventPlugin.CREATE)
160 ).process(
new Command() {
162 public Object execute(Context context) {
abstract void onCreate(Date from, Date to)
◆ $calendar() [3/4]
void onEventUpdate org.turro.calendar.CalendarComposer.$calendar |
( |
CalendarsEvent |
event | ) |
|
Definition at line 172 of file CalendarComposer.java.
173 UserCalendarEvent calendarEvent = (UserCalendarEvent) event.getCalendarEvent();
174 if(!Strings.isBlank(calendarEvent.getPath())) {
175 if(calendarEventCallback !=
null && calendarEvent.getPath().equals(calendarEventCallback.
getPath())) {
176 calendarEventCallback.
onUpdate(event.getBeginDate(),
event.getEndDate());
177 Events.postEvent(
new Event(Events.ON_CLOSE, Components.from(calendar).parent(Window.class)));
182 CalendarEventPlugin.getCalendarEventFor(
183 Authentication.getIContact(),
184 calendarEvent.getBeginDate(), calendarEvent.getEndDate(),
185 event.getBeginDate(), event.getEndDate(),
186 calendarEvent.getPath(), CalendarEventPlugin.UPDATE)
187 ).process(
new Command() {
189 public Object execute(Context context) {
abstract void onUpdate(Date from, Date to)
abstract String getPath()
◆ $calendar() [4/4]
void onDayClick org.turro.calendar.CalendarComposer.$calendar |
( |
ForwardEvent |
event | ) |
|
Definition at line 200 of file CalendarComposer.java.
201 calendar.setCurrentDate((Date) event.getOrigin().getData());
203 calendar.
setMode(CalendarMode.WEEK_MODE);
205 calendar.
setMode(CalendarMode.DAY_MODE);
◆ $currentBox()
void onChange org.turro.calendar.CalendarComposer.$currentBox |
( |
| ) |
|
◆ $schedule() [1/2]
void onSelect org.turro.calendar.CalendarComposer.$schedule |
( |
| ) |
|
◆ $schedule() [2/2]
void onDoubleClick org.turro.calendar.CalendarComposer.$schedule |
( |
| ) |
|
Definition at line 120 of file CalendarComposer.java.
123 if(!Strings.isBlank(ce.getPath())) {
124 IElephantEntity iee = Entities.getController(ce.getPath());
125 Object entity = iee.getEntity();
◆ doAfterCompose()
void org.turro.calendar.CalendarComposer.doAfterCompose |
( |
Component |
comp | ) |
throws Exception |
Definition at line 238 of file CalendarComposer.java.
239 super.doAfterCompose(comp);
240 calendarEventCallback = (CalendarEventCallback) Executions.getCurrent().getArg().get(
"eventCallback");
The documentation for this class was generated from the following file: