Java 类com.vaadin.ui.components.calendar.event.BasicEvent 实例源码

项目:sample-timesheets    文件:TimeSheetsCalendarEventProvider.java   
public void addEvents(Collection<CalendarEvent> events) {
    eventList.addAll(events);
    for (CalendarEvent event : events) {
        if (event instanceof BasicEvent) {
            ((BasicEvent) event).addEventChangeListener(this);
        }
    }
    fireEventSetChange();
}
项目:platform-sample-timesheets    文件:TimeSheetsCalendarEventProvider.java   
public void addEvents(Collection<CalendarEvent> events) {
    eventList.addAll(events);
    for (CalendarEvent event : events) {
        if (event instanceof BasicEvent) {
            ((BasicEvent) event).addEventChangeListener(this);
        }
    }
    fireEventSetChange();
}