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 be.itoffice.mbt.persist.entity.CalendarEvent

      @GET
      @Path("/populateEvents")
      @Produces("text/html")
      public String populateEvents() {
        try {
          CalendarEvent e = new CalendarEvent();
          e.setTitle("Event A");
          e.setAllDay(true);
          e.setStart("12/02/2012");
          e.setDescription("Description event A");
          calendarDao.persistEvent(e);

          CalendarEvent e1 = new CalendarEvent();
          e1.setTitle("Event B");
          e1.setAllDay(true);
          e1.setStart("21/02/2012");
          e1.setDescription("Description event B");
          calendarDao.persistEvent(e1);

          CalendarEvent e2 = new CalendarEvent();
          e2.setTitle("Event C");
          e2.setAllDay(false);
          e2.setStart("21/02/2012 13:00");
          e2.setEnd("21/02/2012 14:30");
          e1.setDescription("Description event c");
          calendarDao.persistEvent(e2);
        } catch (Exception e) {
          e.printStackTrace();
          return "Insert data failed: " + e.getMessage();
    View Full Code Here

    Examples of be.itoffice.mbt.persist.entity.CalendarEvent

        System.out.println("- dtstart: " + dtstart);
        System.out.println("- dtend: " + dtend);
        System.out.println("- allDay: " + allDay);
        System.out.println("- description: " + description);
        System.out.println("- important: " + important);
        CalendarEvent e = new CalendarEvent();
        e.setTitle(title);
        e.setStart(dtstart);
        if (dtend != null) {
          e.setEnd(dtend);
        }
        e.setAllDay(allDay != null ? Boolean.parseBoolean(allDay) : false);
        e.setDescription(description);
        e.setImportant(important != null ? Boolean.parseBoolean(important) : false);
        calendarDao.persistEvent(e);
      }
    View Full Code Here

    Examples of com.danhaywood.isis.wicket.fullcalendar2.applib.CalendarEvent

            return new Function<ObjectAdapter, Event>() {

                public Event apply(final ObjectAdapter input) {

                    final Object domainObject = input.getObject();
                    final CalendarEvent calendarEvent = calendarEventFor(domainObject, calendarName);
                    if(calendarEvent == null) {
                        return null;
                    }

                    final Event event = new Event();
                   
                    final DateTime start = calendarEvent.getDateTime();
                    final DateTime end = start;
                    event.setStart(start);
                    event.setEnd(end);
                    event.setAllDay(true);

                    final String oidStr = input.getOid().enString(IsisContext.getOidMarshaller());
                    event.setId(oidStr + "-" + calendarName);

                    event.setClassName("fullCalendar2-event-" + calendarName);
                    event.setEditable(false);
                    event.setPayload(oidStr);
                    event.setTitle(calendarEvent.getTitle());

                    //event.setBackgroundColor(backgroundColor)
                    //event.setBorderColor(borderColor)
                    //event.setColor(color)
                    //event.setTextColor(textColor)
    View Full Code Here

    Examples of com.googlecode.wicket.jquery.ui.calendar.CalendarEvent

      @Override
      protected List<? extends CalendarEvent> load() {
        List<CalendarEvent> list = new ArrayList<CalendarEvent>();
        for (Appointment a : Application.getBean(AppointmentDao.class).getAppointmentsByRange(WebSession.getUserId(), this.getStart(), this.getEnd())) {
          CalendarEvent c = new OmCalendarEvent(a.getId().intValue(), a.getTitle(), a.getStart(), a.getEnd());
          list.add(c);
        }
        return list;
      }
    View Full Code Here

    Examples of com.peusoft.widget.calendar.event.CalendarEvent

         * Fires event.
         */
        protected void fireCalendarEvent() {
            EventListener[] listeners = getListeners(CalendarListener.class);
            for (int i = 0; i < listeners.length; i++) {
                CalendarEvent event = new CalendarEvent(this, model.hashCode(), (Calendar) model.getSelectedDate().clone());
                ((CalendarListener) listeners[i]).dateSelected(event);

            }
        }
    View Full Code Here

    Examples of com.smartgwt.client.widgets.calendar.CalendarEvent

            return records;
        }

        public static CalendarEvent[] getNewRecords() {
            return new CalendarEvent[]{
                    new CalendarEvent(1, "Meeting", "Shareholders meeting: monthly forecast report", new Date(year, month, start + 2, 9, 0, 0), new Date(year, month, start + 2, 14, 0, 0)),
                    new CalendarEvent(2, "Realtor", "Breakfast with realtor to discuss moving plans", new Date(year, month, start + 3, 8, 0, 0), new Date(year, month, start + 3, 10, 0, 0)),
                    new CalendarEvent(3, "Soccer", "Little league soccer finals", new Date(year, month, start + 4, 13, 0, 0), new Date(year, month, start + 4, 16, 0, 0)),
                    new CalendarEvent(4, "Sleep", "Catch up on sleep", new Date(year, month, start + 4, 5, 0, 0), new Date(year, month, start + 4, 9, 0, 0)),
                    new CalendarEvent(5, "Inspection", "Home inspector coming", new Date(year, month, start + 4, 10, 0, 0), new Date(year, month, start + 4, 12, 0, 0), false, "testStyle"),
                    new CalendarEvent(6, "Airport run", "Pick James up from the airport", new Date(year, month, start + 4, 1, 0, 0), new Date(year, month, start + 4, 3, 0, 0)),
                    new CalendarEvent(7, "Dinner Party", "Prepare elaborate meal for friends", new Date(year, month, start + 4, 17, 0, 0), new Date(year, month, start + 4, 20, 0, 0)),
                    new CalendarEvent(8, "Poker", "Poker at Steve's house", new Date(year, month, start + 4, 21, 0, 0), new Date(year, month, start + 4, 23, 0, 0)),
                    new CalendarEvent(9, "Meeting", "Board of directors meeting: discussion of next months strategy", new Date(year, month, start + 5, 11, 0, 0), new Date(year, month, start + 5, 15, 0, 0))
            };
        }
    View Full Code Here

    Examples of com.smartgwt.client.widgets.calendar.CalendarEvent

            return records;
        }

        public static CalendarEvent[] getNewRecords() {
            return new CalendarEvent[]{
                    new CalendarEvent(1, "Meeting", "Shareholders meeting: monthly forecast report", new Date(year, month, start + 3, 9, 0, 0), new Date(year, month, start + 3, 14, 0, 0)),
                    new CalendarEvent(2, "Realtor", "Breakfast with realtor to discuss moving plans", new Date(year, month, start + 3, 8, 0, 0), new Date(year, month, start + 3, 10, 0, 0)),
                    new CalendarEvent(3, "Soccer", "Little league soccer finals", new Date(year, month, start + 4, 8, 0, 0), new Date(year, month, start + 4, 12, 0, 0)),
                    new CalendarEvent(4, "Sleep", "Catch up on sleep", new Date(year, month, start + 4, 9, 0, 0), new Date(year, month, start + 4, 11, 0, 0)),
                    new CalendarEvent(5, "Inspection", "Home inspector coming", new Date(year, month, start + 4, 10, 0, 0), new Date(year, month, start + 4, 12, 0, 0), false, "testStyle"),
                    new CalendarEvent(6, "Dinner Party", "Prepare elaborate meal for friends", new Date(year, month, start + 4, 11, 0, 0), new Date(year, month, start + 4, 14, 0, 0)),
                    new CalendarEvent(7, "Poker", "Poker at Steve's house", new Date(year, month, start + 4, 13, 0, 0), new Date(year, month, start + 4, 16, 0, 0))
            };
        }
    View Full Code Here

    Examples of com.vaadin.addon.calendar.event.CalendarEvent

         * com.vaadin.addon.calendar.ui.CalendarComponentEvents.EventResizeHandler
         * #eventResize
         * (com.vaadin.addon.calendar.ui.CalendarComponentEvents.EventResize)
         */
        public void eventResize(EventResize event) {
            CalendarEvent calendarEvent = event.getCalendarEvent();

            if (calendarEvent instanceof CalendarEventEditor) {
                Date newStartTime = event.getNewStartTime();
                Date newEndTime = event.getNewEndTime();

    View Full Code Here

    Examples of com.vaadin.addon.calendar.event.CalendarEvent

         *            Index of target Calendar.Event
         * @param target
         *            PaintTarget
         */
        protected void paintEvent(int index, PaintTarget target) throws PaintException {
            CalendarEvent e = events.get(index);
            target.addAttribute(VCalendarPaintable.ATTR_INDEX, index);
            target.addAttribute(VCalendarPaintable.ATTR_CAPTION,
                    (e.getCaption() == null ? "" : e.getCaption()));
            target.addAttribute(VCalendarPaintable.ATTR_DATEFROM,
                    df_date.format(e.getStart()));
            target.addAttribute(VCalendarPaintable.ATTR_DATETO, df_date.format(e.getEnd()));
            target.addAttribute(VCalendarPaintable.ATTR_TIMEFROM,
                    df_time.format(e.getStart()));
            target.addAttribute(VCalendarPaintable.ATTR_TIMETO, df_time.format(e.getEnd()));
            target.addAttribute(VCalendarPaintable.ATTR_DESCRIPTION,
                    e.getDescription() == null ? "" : e.getDescription());
            target.addAttribute(VCalendarPaintable.ATTR_STYLE, e.getStyleName() == null ? ""
                    : e.getStyleName());
            target.addAttribute(VCalendarPaintable.ATTR_ALLDAY, e.isAllDay());
        }
    View Full Code Here

    Examples of com.vaadin.addon.calendar.event.CalendarEvent

                }
            }

            final Object id = container.getIdByIndex(index);
            Item item = container.getItem(id);
            CalendarEvent event;
            if (id instanceof CalendarEvent) {
                /*
                 * If we are using the BeanItemContainer or another container
                 * which stores the objects as ids then just return the
                 * instances
     
    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.