Package org.primefaces.event

Examples of org.primefaces.event.ScheduleEntryMoveEvent


        changedEvent.getEndDate().setTime(calendar.getTimeInMillis());
       
        if(isResize)
          schedule.queueEvent(new ScheduleEntryResizeEvent(schedule, changedEvent, dayDelta, minuteDelta));
        else
          schedule.queueEvent(new ScheduleEntryMoveEvent(schedule, changedEvent, dayDelta, minuteDelta));
      }
    }
  }
View Full Code Here


                calendar = Calendar.getInstance();
                calendar.setTime(movedEvent.getEndDate());
        calendar.roll(Calendar.DATE, dayDelta);
        movedEvent.getEndDate().setTime(calendar.getTimeInMillis());

                wrapperEvent = new ScheduleEntryMoveEvent(this, behaviorEvent.getBehavior(), movedEvent, dayDelta, minuteDelta);
            }
            else if(eventName.equals("eventResize")) {
                String resizedEventId = params.get(clientId + "_resizedEventId");
        ScheduleEvent resizedEvent = this.getValue().getEvent(resizedEventId);
                int dayDelta = Integer.valueOf(params.get(clientId + "_dayDelta"));
View Full Code Here

        changedEvent.getEndDate().setTime(calendar.getTimeInMillis());
       
        if(isResize)
          schedule.queueEvent(new ScheduleEntryResizeEvent(schedule, changedEvent, dayDelta, minuteDelta));
        else
          schedule.queueEvent(new ScheduleEntryMoveEvent(schedule, changedEvent, dayDelta, minuteDelta));
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.primefaces.event.ScheduleEntryMoveEvent

Copyright © 2018 www.massapicom. 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.