Module jfxtras.icalendaragenda
Class SimpleDeleterFactory
java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.deleters.SimpleDeleterFactory
Simple factory to create Deleter
objects. Two methods to create Deleter
exist. One takes only a VComponent as a parameter and builds an empty Deleter
.
The second takes a VComponent and an array of parameters required to completely
initialize the Deleter
.
The parameters array contains the following (in this order):
Callback<Map<ChangeDialogOption, Pair<Temporal, Temporal>>, ChangeDialogOption>
- callback for user dialog- Temporal - startOriginalRecurrence, start of selected recurrence
- List-VComponent - list of components that vComponent is a member
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Deleter
newDeleter
(VComponent vComponent) static Deleter
newDeleter
(VComponent vComponent, Object[] params) static Deleter
newDeleter
(VComponent vComponent, javafx.util.Callback<Map<ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, ChangeDialogOption> changeDialogCallback, Temporal startOriginalRecurrence)
-
Constructor Details
-
SimpleDeleterFactory
public SimpleDeleterFactory()
-
-
Method Details
-
newDeleter
- Parameters:
vComponent
- -VComponent
to have delete action acted uponparams
-- Returns:
- New Deleter
-
newDeleter
public static Deleter newDeleter(VComponent vComponent, javafx.util.Callback<Map<ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, ChangeDialogOption> changeDialogCallback, Temporal startOriginalRecurrence) - Parameters:
vComponent
- -VComponent
to have delete action acted uponparams
-- Returns:
- New Deleter
-
newDeleter
-