Module jfxtras.icalendaragenda
Class SimpleEditSceneFactory
java.lang.Object
jfxtras.internal.scene.control.skin.agenda.icalendar.base24hour.popup.SimpleEditSceneFactory
Simple factory to create
EditDisplayableScene
objects. Contains two methods to create scenes.
One takes only a VComponent as a parameter and builds an empty EditDisplayableScene
.
The second takes a VComponent and an array of parameters required to completely
initialize the EditDisplayableScene
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EditDisplayableScene
newScene
(VComponent vComponent) Create an emptyEditDisplayableScene
static EditDisplayableScene
newScene
(VComponent vComponent, Object[] params) Create a Stage to edit the type of VComponent passed as a parameterstatic EditDisplayableScene
newScene
(VComponent vComponent, Temporal startRecurrence, Temporal endRecurrence, List<String> categories) Create a Stage to edit the type of VComponent passed as a parameter
-
Constructor Details
-
SimpleEditSceneFactory
public SimpleEditSceneFactory()
-
-
Method Details
-
newScene
Create a Stage to edit the type of VComponent passed as a parameterParameters array must contain the following:
(0) VCalendar - parent VCalendar
(1) Temporal startRecurrence - start of selected recurrence
(2) Temporal endRecurrence - end of selected recurrence
(3) String List categories - available category names- Parameters:
vComponent
- - VComponent to be editedparams
- - necessary parameters, packed in an array, to edit the VComponent- Returns:
-
newScene
public static EditDisplayableScene newScene(VComponent vComponent, Temporal startRecurrence, Temporal endRecurrence, List<String> categories) Create a Stage to edit the type of VComponent passed as a parameter- Parameters:
vComponent
- component to editstartRecurrence
- start of selected recurrenceendRecurrence
- end of selected recurrencecategories
- available category names- Returns:
- the new Stage containing an edit popup
-
newScene
Create an emptyEditDisplayableScene
-