Class ReviserVEvent
java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable<ReviserVEvent, VEvent>
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 ReviserDisplayable
ReviserDisplayable.RRuleStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustDateTime(VEvent vComponentEditedCopy) Adjust start and end date/timeprivate voidadjustDateTimeEndOrDuration(VEvent vComponentEditedCopy) Returned list ofVPropertyElementvalues, that when changed, necessitate a user dialog to determine scope of change.(package private) voidONE Edit one instance of a VEvent with a RRule.(package private) Collection<VPropertyElement> findChangedProperties(VEvent vComponentEditedCopy, VEvent vComponentOriginalCopy) Generates a list ofVPropertyElementthat have changed between the original and edited VComponents.Methods inherited from class ReviserLocatable
adjustStartAndEnd, becomeNonRecurring, getEndRecurrence, isValid, setEndRecurrence, withEndRecurrenceMethods inherited from class 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:
adjustDateTimein classReviserDisplayable<ReviserVEvent, VEvent>
-
adjustDateTimeEndOrDuration
-
findChangedProperties
Collection<VPropertyElement> findChangedProperties(VEvent vComponentEditedCopy, VEvent vComponentOriginalCopy) Description copied from class:ReviserDisplayableGenerates a list ofVPropertyElementthat have changed between the original and edited VComponents.- Overrides:
findChangedPropertiesin classReviserDisplayable<ReviserVEvent, VEvent>- Parameters:
vComponentEditedCopy- edited VComponentvComponentOriginalCopy- original VComponent- Returns:
- list of changed
VPropertyElement
-
dialogRequiredProperties
Description copied from class:ReviserDisplayableReturned 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.- Overrides:
dialogRequiredPropertiesin 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:ReviserDisplayableONE 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:
editOnein classReviserDisplayable<ReviserVEvent, VEvent>
-