java.lang.Object
jfxtras.internal.scene.control.skin.agenda.AllAppointments
Capture the logic to extract the different types of appointments in one place.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final javafx.collections.ObservableList<Agenda.Appointment>private final javafx.collections.ListChangeListener<Agenda.Appointment> -
Constructor Summary
ConstructorsConstructorDescriptionAllAppointments(javafx.collections.ObservableList<Agenda.Appointment> appointments) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOnChangeListener(Runnable runnable) fires when something changes in the appointmentscollectRegularFor(LocalDate localDate) collectTaskFor(LocalDate localDate) collectWholedayFor(LocalDate localDate) private voidvoidremoveOnChangeListener(Runnable runnable)
-
Field Details
-
appointments
-
listChangeListener
-
runnables
-
-
Constructor Details
-
AllAppointments
-
-
Method Details
-
addOnChangeListener
fires when something changes in the appointments -
removeOnChangeListener
-
fireOnChangeListener
private void fireOnChangeListener() -
collectWholedayFor
-
collectTaskFor
-
collectRegularFor
-