Class ReviserDisplayable<T, U extends VDisplayable<U>>
java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable<T,U>
- Type Parameters:
T- concrete implementation of this classU- concreteVDisplayableclass
- All Implemented Interfaces:
Reviser
- Direct Known Subclasses:
ReviserLocatable, ReviserVJournal
public abstract class ReviserDisplayable<T, U extends VDisplayable<U>>
extends Object
implements Reviser
Handles revising one or all recurrences of a
VDisplayable- Author:
- David Bal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturned list ofVPropertyElementvalues, that when changed, necessitate a user dialog to determine scope of change.javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> Gets the value of the dialog callback to prompt the user to select revision optionGets the value of the start of the selected recurrence, before changesGets the value of the start of the selected recurrence, after changesGets the value of the editedVDisplayablecopy.Gets the value of the originalVDisplayablerevise()Revise list of iTIP VCalendar components that represent the changes.voidsetDialogCallback(javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> dialogCallback) Sets the value of the dialog callback to prompt the user to select revision optionvoidsetStartOriginalRecurrence(Temporal startOriginalRecurrence) Sets the value of the start of the selected recurrence, before changesvoidsetStartRecurrence(Temporal startRecurrence) Sets the value of the start of the selected recurrence, after changesvoidsetVComponentCopyEdited(U vComponentEdited) Sets the value of the editedVDisplayablecopy.voidsetVComponentOriginal(U vComponentOriginal) Sets the value of the originalVDisplayablewithDialogCallback(javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> dialogCallback) Sets the value of the dialog callback to prompt the user to select revision optionwithStartOriginalRecurrence(Temporal startOriginalRecurrence) Sets the value of the start of the selected recurrence, before changeswithStartRecurrence(Temporal startRecurrence) Sets the value of the start of the selected recurrence, after changeswithVComponentCopyEdited(U vComponentEdited) Sets the value of the editedVDisplayablewithVComponentOriginal(U vComponentOriginal) Sets the value of the editedVDisplayable
-
Constructor Details
-
ReviserDisplayable
-
-
Method Details
-
getVComponentCopyEdited
Gets the value of the editedVDisplayablecopy. Note: don't pass original or the changes will be instantaneous and cancel is not possible. -
setVComponentCopyEdited
Sets the value of the editedVDisplayablecopy. Note: don't pass original or the changes will be instantenous and cancel is not possible. -
withVComponentCopyEdited
Sets the value of the editedVDisplayable- Returns:
- - this class for chaining
- See Also:
-
getVComponentOriginal
Gets the value of the originalVDisplayable -
setVComponentOriginal
Sets the value of the originalVDisplayable -
withVComponentOriginal
Sets the value of the editedVDisplayable- Returns:
- - this class for chaining
- See Also:
-
getStartOriginalRecurrence
Gets the value of the start of the selected recurrence, before changes -
setStartOriginalRecurrence
Sets the value of the start of the selected recurrence, before changes -
withStartOriginalRecurrence
-
getStartRecurrence
Gets the value of the start of the selected recurrence, after changes -
setStartRecurrence
Sets the value of the start of the selected recurrence, after changes -
withStartRecurrence
-
getDialogCallback
public javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal,Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> getDialogCallback()Gets the value of the dialog callback to prompt the user to select revision option -
setDialogCallback
public void setDialogCallback(javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> dialogCallback) Sets the value of the dialog callback to prompt the user to select revision option -
withDialogCallback
public T withDialogCallback(javafx.util.Callback<Map<jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>>, jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption> dialogCallback) Sets the value of the dialog callback to prompt the user to select revision option- Returns:
- - this class for chaining
-
revise
-
dialogRequiredProperties
Returned list ofVPropertyElementvalues, that when changed, necessitate a user dialog to determine scope of change. If changes do not contain ANYVPropertyElementin the returned list then changes can proceed automatically without a user dialog.- Returns:
List<VPropertyElement>that when any are changed require a user dialog to request scope of change (e.g. ONE, ALL or THIS_AND_FUTURE)
-