public abstract class DeleterDisplayable<T,U extends jfxtras.icalendarfx.components.VDisplayable<?>> extends java.lang.Object implements Deleter
<p>Handles deleting recurrences of a VDisplayable
(e.g. VEvent
, VTodo
, VJournal
)</p>
Constructor and Description |
---|
DeleterDisplayable(U vComponent) |
Modifier and Type | Method and Description |
---|---|
java.util.List<jfxtras.icalendarfx.VCalendar> |
delete()
Revise list of iTIP VCalendar components that represent the canceled calendar components.
|
javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> |
getDialogCallback()
Gets the value of the dialog callback to prompt the user to select delete option
|
java.time.temporal.Temporal |
getStartOriginalRecurrence()
Gets the value of the original recurrence date or date/time
|
U |
getVComponentCopy()
Gets the value of the
VDisplayable to be deleted. |
void |
setDialogCallback(javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> dialogCallback)
Sets the value of the dialog callback to prompt the user to select delete option
|
void |
setStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the original recurrence date or date/time
|
void |
setVComponentCopy(U vComponentEdited)
Sets the value of the edited
VDisplayable Note: don’t pass original or
the changes will be instantaneous and cancel is not possible. |
T |
withDialogCallback(javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> dialogCallback)
Sets the value of the dialog callback to prompt the user to select delete option and returns this class for chaining
|
T |
withStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the original recurrence date or date/time and returns this class for chaining
|
T |
withVComponentCopy(U vComponentEdited)
Sets the value of the edited
VDisplayable . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emptyCanceliTIPMessage
public DeleterDisplayable(U vComponent)
public U getVComponentCopy()
Gets the value of the VDisplayable
to be deleted. Note: don’t pass original or
the changes will be instantaneous and cancel is not possible.
public void setVComponentCopy(U vComponentEdited)
Sets the value of the edited VDisplayable
Note: don’t pass original or
the changes will be instantaneous and cancel is not possible.
public T withVComponentCopy(U vComponentEdited)
Sets the value of the edited VDisplayable
. Note: don’t pass original or
the changes will be instantaneous and cancel is not possible.
VCalendar
public java.time.temporal.Temporal getStartOriginalRecurrence()
Gets the value of the original recurrence date or date/time
public void setStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the original recurrence date or date/time
public T withStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the original recurrence date or date/time and returns this class for chaining
public javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> getDialogCallback()
Gets the value of the dialog callback to prompt the user to select delete option
public void setDialogCallback(javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> dialogCallback)
Sets the value of the dialog callback to prompt the user to select delete option
public T withDialogCallback(javafx.util.Callback<java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>>,ChangeDialogOption> dialogCallback)
Sets the value of the dialog callback to prompt the user to select delete option and returns this class for chaining