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 DeleternewDeleter(VComponent vComponent) static DeleternewDeleter(VComponent vComponent, Object[] params) static DeleternewDeleter(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- -VComponentto 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- -VComponentto have delete action acted uponparams-- Returns:
- New Deleter
-
newDeleter
-