jfxtras.internal.scene.control.skin.agenda.icalendar.base24hour.popup.EditVEventScene Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfxtras-all Show documentation
Show all versions of jfxtras-all Show documentation
Miscellaneous components for JavaFX
The newest version!
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
*
* @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 categories)
{
this();
setupData(vComponent, startRecurrence, endRecurrence, categories);
}
EditVEventScene setupData(
VEvent vComponent,
Temporal startRecurrence,
Temporal endRecurrence,
List categories)
{
((EditVEventTabPane) getRoot()).setupData(vComponent, startRecurrence, endRecurrence, categories);
return this;
}
}