◆ afterCompose()
void org.turro.calendar.ScheduleListbox.afterCompose |
( |
| ) |
|
◆ beforeAppend()
void org.turro.calendar.ScheduleListbox.beforeAppend |
( |
Listitem |
li | ) |
|
|
protected |
Reimplemented from org.turro.zkoss.input.CollectionListbox< V >.
Definition at line 70 of file ScheduleListbox.java.
71 ICalendarEvent ce = li.getValue();
72 li.setStyle(
"vertical-align:top;color:" + ce.getHeaderColor() +
";");
73 if(now.after(ce.getBeginDate())) {
74 li.setSclass(
"invalid");
75 li.setStyle(li.getStyle() +
"background-color:#ddd;");
76 }
else if(firstTodo ==
null) {
◆ convertToString()
String org.turro.calendar.ScheduleListbox.convertToString |
( |
ICalendarEvent |
v | ) |
|
|
protected |
Definition at line 62 of file ScheduleListbox.java.
63 return DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Application.getUsedLocale())
65 v.getTitle() + SUBITEM_SEPARATOR +
66 Strings.truncateAndWarn(v.getContent(), 50).replaceAll(
"\\n", SUBITEM_SEPARATOR);
◆ refresh()
void org.turro.calendar.ScheduleListbox.refresh |
( |
| ) |
|
Definition at line 46 of file ScheduleListbox.java.
49 Collection events = CalendarPlugin.getCalendarFor(
50 Authentication.getIContact(),
51 new CheckDate(now).addMonths(-3).getDate(),
52 new CheckDate(now).addMonths(1).getDate());
55 if(firstTodo !=
null) {
56 setSelectedItem(firstTodo);
The documentation for this class was generated from the following file: