jfxtras

How to list dates from database onto JFXtras Agenda as Appointments: Google Calender style event listing

浪尽此生 提交于 2020-01-06 08:33:26
问题 I have event dates, titles, venues, attendees, start & end times, location and other metadata collected from users via forms then stored in a mysql database table. I would like to retrieve the events from the database and list them in Google Calender style . So far I only know of JFXtras Agenda having this kind of implementation. I've been trying for a long time now to work with JFXtras Agenda but I'm stuck at retrieving the events from the database and listing them on the Agenda as

How to get appointment details when an AppointmentPane is clicked - JFXtras

て烟熏妆下的殇ゞ 提交于 2019-12-24 11:28:48
问题 I would like to print out an appointment's summary and description when a user clicks on a particular appointment retrieved from the database. I'm trying to implement this with something like: lAgenda.selectedAppointments().addListener(new ListChangeListener<Appointment>() { @Override public void onChanged(Change<? extends Appointment> c) { System.out.println(c.toString()); } }); I however, only get this: com.sun.javafx.collections.NonIterableChange$GenericAddRemoveChange@1ef0f08 com.sun

How can I add an action Listener onto an appointment in an agenda (JFXtras Agenda)

冷暖自知 提交于 2019-12-19 12:00:26
问题 How can I add an action Listener so that when an appointment on an agenda is clicked a new window with more details on that particular clicked appointment opens. 回答1: It seems like Agenda has not api for that. You can see agenda's sources: AbstractAppointmentPane has mouse event logic. 回答2: lAgenda.selectedAppointments().addListener(new ListChangeListener< Appointment >() { public void onChanged(Change<? extends Appointment> c) { while (c.next()) { if (c.wasPermutated()) { for (int i = c