Module jfxtras.icalendaragenda
Class ReviserVEvent
java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable<T,U>
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserLocatable<ReviserVEvent,VEvent>
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserVEvent
- All Implemented Interfaces:
Reviser
Reviser for
VEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable
ReviserDisplayable.RRuleStatus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustDateTime
(VEvent vComponentEditedCopy) Adjust start and end date/timeprivate void
adjustDateTimeEndOrDuration
(VEvent vComponentEditedCopy) Returned list ofVPropertyElement
values, that when changed, necessitate a user dialog to determine scope of change.(package private) void
ONE Edit one instance of a VEvent with a RRule.(package private) Collection<VPropertyElement>
findChangedProperties
(VEvent vComponentEditedCopy, VEvent vComponentOriginalCopy) Generates a list ofVPropertyElement
that have changed between the original and edited VComponents.Methods inherited from class jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserLocatable
adjustStartAndEnd, becomeNonRecurring, getEndRecurrence, isValid, setEndRecurrence, withEndRecurrence
Methods inherited from class jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable
editThisAndFuture, getDialogCallback, getStartOriginalRecurrence, getStartRecurrence, getVComponentCopyEdited, getVComponentOriginal, revise, setDialogCallback, setStartOriginalRecurrence, setStartRecurrence, setVComponentCopyEdited, setVComponentOriginal, validateStartRecurrenceAndDTStart, withDialogCallback, withStartOriginalRecurrence, withStartRecurrence, withVComponentCopyEdited, withVComponentOriginal
-
Constructor Details
-
ReviserVEvent
-
-
Method Details
-
adjustDateTime
Adjust start and end date/time- Overrides:
adjustDateTime
in classReviserDisplayable<ReviserVEvent,
VEvent>
-
adjustDateTimeEndOrDuration
-
findChangedProperties
Collection<VPropertyElement> findChangedProperties(VEvent vComponentEditedCopy, VEvent vComponentOriginalCopy) Description copied from class:ReviserDisplayable
Generates a list ofVPropertyElement
that have changed between the original and edited VComponents.- Overrides:
findChangedProperties
in classReviserDisplayable<ReviserVEvent,
VEvent> - Parameters:
vComponentEditedCopy
- edited VComponentvComponentOriginalCopy
- original VComponent- Returns:
- list of changed
VPropertyElement
-
dialogRequiredProperties
Description copied from class:ReviserDisplayable
Returned list ofVPropertyElement
values, that when changed, necessitate a user dialog to determine scope of change. If changes do not contain ANYVPropertyElement
in the returned list then changes can proceed automatically without a user dialog.- Overrides:
dialogRequiredProperties
in classReviserLocatable<ReviserVEvent,
VEvent> - 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)
-
editOne
Description copied from class:ReviserDisplayable
ONE Edit one instance of a VEvent with a RRule. The instance becomes a new VEvent without a RRule as with the same UID as the parent and a recurrence-id for the replaced date or date/time.- Overrides:
editOne
in classReviserDisplayable<ReviserVEvent,
VEvent>
-