package jfxtras.internal.scene.control.skin.agenda.icalendar.base24hour.popup; import java.time.temporal.Temporal; import java.util.List; import jfxtras.icalendarfx.components.VEvent; import jfxtras.icalendarfx.properties.component.recurrence.RecurrenceRule; /** * Scene for editing descriptive properties and a {@link RecurrenceRule} in a {@link VEvent}. * A {@link EditVEventTabPane} is set as the root node of the scene graph<br> * * @author David Bal */ public class EditVEventScene extends EditDisplayableScene { public EditVEventScene() { super(new EditVEventTabPane()); } /** * @param vComponent - component to edit * @param startRecurrence - start of selected recurrence * @param endRecurrence - end of selected recurrence * @param categories - available category names */ public EditVEventScene( VEvent vComponent, Temporal startRecurrence, Temporal endRecurrence, List<String> categories) { this(); setupData(vComponent, startRecurrence, endRecurrence, categories); } EditVEventScene setupData( VEvent vComponent, Temporal startRecurrence, Temporal endRecurrence, List<String> categories) { ((EditVEventTabPane) getRoot()).setupData(vComponent, startRecurrence, endRecurrence, categories); return this; } }