Examples of appointments()


Examples of jfxtras.scene.control.agenda.Agenda.appointments()

    int FirstDayOfWeek = lFirstDayOfWeekCalendar.get(Calendar.DATE);
    Calendar lToday = lAgenda.getDisplayedCalendar();
    int lTodayYear = lToday.get(Calendar.YEAR);
    int lTodayMonth = lToday.get(Calendar.MONTH);
    int lTodayDay = lToday.get(Calendar.DATE);
    lAgenda.appointments().addAll(
    /*
     *  . . . .
     *  . . . .
     *  A . . .  8:00
     *  A B C .  8:30
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

      .withEndTime(lEnd)
      .withSummary(lIpsum.substring(0, new Random().nextInt(50)))
      .withDescription(lIpsum.substring(0, 10 + new Random().nextInt(lIpsum.length() - 10)))
      .withAppointmentGroup(lAppointmentGroupMap.get("group1" + (new Random().nextInt(3) + 1)));
     
      lAgenda.appointments().add(lAppointment);
    }   

    // update range
    final AtomicBoolean lSkippedFirstRangeChange = new AtomicBoolean(false);   
    lAgenda.calendarRangeCallbackProperty().set(new Callback<Agenda.CalendarRange, Void>()
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

          lSkippedFirstRangeChange.set(true);
          return null;
        }
       
        // add a whole bunch of random appointments
        lAgenda.appointments().clear();
        for (int i = 0; i < 10; i++)
        {
          Calendar lFirstDayOfWeekCalendar = getFirstDayOfWeekCalendar(lAgenda.getLocale(), lAgenda.getDisplayedCalendar());
         
          Calendar lStart = (Calendar)lFirstDayOfWeekCalendar.clone();
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

          .withEndTime(lEnd)
          .withWholeDay(new Random().nextInt(50) > 40)
          .withSummary(lIpsum.substring(0, new Random().nextInt(50)))
          .withDescription(lIpsum.substring(0, new Random().nextInt(lIpsum.length())))
          .withAppointmentGroup(lAppointmentGroupMap.get("group0" + (new Random().nextInt(10))));         
          lAgenda.appointments().add(lAppointment);
        }
        return null;
      }
    });
    }
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

    int FirstDayOfWeek = lFirstDayOfWeekCalendar.get(Calendar.DATE);
    Calendar lToday = lAgenda.getDisplayedCalendar();
    int lTodayYear = lToday.get(Calendar.YEAR);
    int lTodayMonth = lToday.get(Calendar.MONTH);
    int lTodayDay = lToday.get(Calendar.DATE);
    lAgenda.appointments().addAll(
    /*
     *  . . . .
     *  . . . .
     *  A . . .  8:00
     *  A B C .  8:30
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

      .withEndTime(lEnd)
      .withSummary(lIpsum.substring(0, new Random().nextInt(50)))
      .withDescription(lIpsum.substring(0, 10 + new Random().nextInt(lIpsum.length() - 10)))
      .withAppointmentGroup(lAppointmentGroupMap.get("group0" + (new Random().nextInt(3) + 1)));
     
      lAgenda.appointments().add(lAppointment);
    }
   

    // update range
    final AtomicBoolean lSkippedFirstRangeChange = new AtomicBoolean(false);   
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

          lSkippedFirstRangeChange.set(true);
          return null;
        }
       
        // add a whole bunch of random appointments
        lAgenda.appointments().clear();
        for (int i = 0; i < 20; i++)
        {
          Calendar lFirstDayOfWeekCalendar = getFirstDayOfWeekCalendar(lAgenda.getLocale(), lAgenda.getDisplayedCalendar());
         
          Calendar lStart = (Calendar)lFirstDayOfWeekCalendar.clone();
View Full Code Here

Examples of jfxtras.scene.control.agenda.Agenda.appointments()

          .withEndTime(lEnd)
          .withWholeDay(new Random().nextInt(50) > 40)
          .withSummary(lIpsum.substring(0, new Random().nextInt(50)))
          .withDescription(lIpsum.substring(0, new Random().nextInt(lIpsum.length())))
          .withAppointmentGroup(lAppointmentGroupMap.get("group0" + (new Random().nextInt(10))));         
          lAgenda.appointments().add(lAppointment);
        }
        return null;
      }
    });
   
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.