Examples of CalendarEvent

  • com.vaadin.addon.calendar.gwt.client.ui.schedule.CalendarEvent
    A client side implementation of a calendar event @version 1.2.1
  • com.vaadin.client.ui.calendar.schedule.CalendarEvent
    A client side implementation of a calendar event @since 7.1 @author Vaadin Ltd.
  • com.vaadin.ui.components.calendar.event.CalendarEvent

    Event in the calendar. Customize your own event by implementing this interface.

  • Start and end fields are mandatory.
  • In "allDay" events longer than one day, starting and ending clock times are omitted in UI and only dates are shown.
  • @since 7.1.0 @author Vaadin Ltd.
  • org.hibernate.beanvalidation.tck.tests.constraints.inheritance.method.validdeclarations.model.CalendarEvent
    @author Gunnar Morling
  • org.martinlaw.bo.CalendarEvent
    holds information that links a date with an online calendar event entry e.g. on google calendar

    The password, username and calendar url will be configured using system admin accessible property files and wired into the service beans which will be activated by Quartz or spring integration

    @author mugo
  • org.zkoss.calendar.api.CalendarEvent
    This interface defines the methods used for {@link Calendars} to render theevent data. @author jumperchen,jimmy

  • Examples of org.zkoss.calendar.api.CalendarEvent

       
        TimeZone tz = calendars.getDefaultTimeZone();
       
        editEvent.setLeft(left + "px");
        editEvent.setTop(top + "px");
        CalendarEvent ce = evt.getCalendarEvent();
        SimpleDateFormat edit_sdf = new SimpleDateFormat("HH:mm");
        edit_sdf.setTimeZone(tz);
        Calendar calendar = Calendar.getInstance(org.zkoss.util.Locales
            .getCurrent());
        String[] times = edit_sdf.format(ce.getBeginDate()).split(":");
        int hours = Integer.parseInt(times[0]);
        int mins = Integer.parseInt(times[1]);
        int bdTimeSum = hours + mins;
        editEvent$ppbt.setSelectedIndex(hours*12 + mins/5);
        times = edit_sdf.format(ce.getEndDate()).split(":");
        hours = Integer.parseInt(times[0]);
        mins = Integer.parseInt(times[1]);
        int edTimeSum = hours + mins;
        editEvent$ppet.setSelectedIndex(hours*12 + mins/5);
        boolean isAllday = (bdTimeSum + edTimeSum) == 0;
        editEvent$ppbegin.setTimeZone(tz);
        editEvent$ppbegin.setValue(ce.getBeginDate());
        editEvent$ppend.setTimeZone(tz);
        editEvent$ppend.setValue(ce.getEndDate());
        editEvent$ppallDay.setChecked(isAllday);
        editEvent$pplocked.setChecked(ce.isLocked());
        editEvent$ppbt.setVisible(!isAllday);
        editEvent$ppet.setVisible(!isAllday);
        editEvent$ppcnt.setValue(ce.getContent());
        String colors = ce.getHeaderColor() + "," + ce.getContentColor();
        int index = 0;
        if ("#3467CE,#668CD9".equals(colors))
          index = 1;
        else if ("#0D7813,#4CB052".equals(colors))
          index = 2;
    View Full Code Here

    Examples of org.zkoss.calendar.api.CalendarEvent

                }
              });

          if (list != null) {
            for (Iterator it = list.iterator(); it.hasNext();) {
              CalendarEvent ce = (CalendarEvent) it.next();
              if (!ce.getBeginDate().before(ce.getEndDate()))
                throw new IllegalArgumentException("Illegal date: from " + ce.getBeginDate() + " to " + ce.getEndDate());
             
              String key = ce.getBeginDate().before(beginDate) ?
                        getEventKey(beginDate):
                        getEventKey(ce.getBeginDate());
             
              List dayevt =  (List) _evts.get(key);
              if (dayevt == null) {
                dayevt = new LinkedList();
                _evts.put(key, dayevt);
    View Full Code Here

    Examples of org.zkoss.calendar.api.CalendarEvent

       */
      private void initDataListener() {
        if (_dataListener == null)
          _dataListener = new CalendarDataListener() {
            public void onChange(CalendarDataEvent event) {
              CalendarEvent ce = event.getCalendarEvent();
              if (ce == null) {  // if large scope change, such as clearAll
                reSendEventGroup();
                return;
              }
              switch (event.getType()) {
    View Full Code Here

    Examples of org.zkoss.calendar.api.CalendarEvent

     
      public static CalendarsEvent getEditEvent(AuRequest request) {
        final JSONArray data = (JSONArray) request.getData().get("data");
        final Calendars cmp = verifyEvent(request, data, 5);
       
        CalendarEvent ce = cmp.getCalendarEventById(String.valueOf(data.get(0)));
       
        if (ce == null) return null;
       
        return new CalendarsEvent(ON_EVENT_EDIT, cmp, ce, null, null,
            getInt(data.get(1)), getInt(data.get(2)),
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.