public abstract class ReviserDisplayable<T,U extends jfxtras.icalendarfx.components.VDisplayable<U>> extends java.lang.Object implements Reviser
Handles revising one or all recurrences of a VDisplayable
Constructor and Description |
---|
ReviserDisplayable(U vComponent) |
Modifier and Type | Method and Description |
---|---|
java.util.List<jfxtras.icalendarfx.properties.PropertyType> |
dialogRequiredProperties()
Returned list of
PropertyType values, that when changed, necessitate a user dialog to determine scope of change. |
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 revision option
|
java.time.temporal.Temporal |
getStartOriginalRecurrence()
Gets the value of the start of the selected recurrence, before changes
|
java.time.temporal.Temporal |
getStartRecurrence()
Gets the value of the start of the selected recurrence, after changes
|
U |
getVComponentCopyEdited()
Gets the value of the edited
VDisplayable copy. |
U |
getVComponentOriginal()
Gets the value of the original
VDisplayable |
java.util.List<jfxtras.icalendarfx.VCalendar> |
revise()
Revise list of iTIP VCalendar components that represent the changes.
|
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 revision option
|
void |
setStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the start of the selected recurrence, before changes
|
void |
setStartRecurrence(java.time.temporal.Temporal startRecurrence)
Sets the value of the start of the selected recurrence, after changes
|
void |
setVComponentCopyEdited(U vComponentEdited)
Sets the value of the edited
VDisplayable copy. |
void |
setVComponentOriginal(U vComponentOriginal)
Sets the value of the original
VDisplayable |
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 revision option
|
T |
withStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the start of the selected recurrence, before changes
|
T |
withStartRecurrence(java.time.temporal.Temporal startRecurrence)
Sets the value of the start of the selected recurrence, after changes
|
T |
withVComponentCopyEdited(U vComponentEdited)
Sets the value of the edited
VDisplayable |
T |
withVComponentOriginal(U vComponentOriginal)
Sets the value of the edited
VDisplayable |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emptyPublishiTIPMessage, emptyRequestiTIPMessage
public ReviserDisplayable(U vComponent)
public U getVComponentCopyEdited()
Gets the value of the edited VDisplayable
copy. Note: don’t pass original or
the changes will be instantaneous and cancel is not possible.
public void setVComponentCopyEdited(U vComponentEdited)
Sets the value of the edited VDisplayable
copy. Note: don’t pass original or
the changes will be instantenous and cancel is not possible.
public T withVComponentCopyEdited(U vComponentEdited)
Sets the value of the edited VDisplayable
VCalendar
public U getVComponentOriginal()
Gets the value of the original VDisplayable
public void setVComponentOriginal(U vComponentOriginal)
Sets the value of the original VDisplayable
public T withVComponentOriginal(U vComponentOriginal)
Sets the value of the edited VDisplayable
VCalendar
public java.time.temporal.Temporal getStartOriginalRecurrence()
Gets the value of the start of the selected recurrence, before changes
public void setStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the start of the selected recurrence, before changes
public T withStartOriginalRecurrence(java.time.temporal.Temporal startOriginalRecurrence)
Sets the value of the start of the selected recurrence, before changes
public java.time.temporal.Temporal getStartRecurrence()
Gets the value of the start of the selected recurrence, after changes
public void setStartRecurrence(java.time.temporal.Temporal startRecurrence)
Sets the value of the start of the selected recurrence, after changes
public T withStartRecurrence(java.time.temporal.Temporal startRecurrence)
Sets the value of the start of the selected recurrence, after changes
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 revision 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 revision 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 revision option
public java.util.List<jfxtras.icalendarfx.VCalendar> revise()
Reviser
Revise list of iTIP VCalendar components that represent the changes.
public java.util.List<jfxtras.icalendarfx.properties.PropertyType> dialogRequiredProperties()
Returned list of PropertyType
values, that when changed, necessitate a user dialog to determine scope of change.
If changes do not contain ANY PropertyType
in the returned list then changes can proceed automatically
without a user dialog.
List<PropertyType>
that when any are changed require a user dialog to request scope of change
(e.g. ONE, ALL or THIS_AND_FUTURE)