Module jfxtras.icalendaragenda
Enum Class ChangeDialogOption
java.lang.Object
java.lang.Enum<ChangeDialogOption>
jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption
- All Implemented Interfaces:
Serializable
,Comparable<ChangeDialogOption>
,Constable
Options available when editing or deleting a repeatable appointment.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <U extends VDisplayable<U>>
Map<ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>> makeDialogChoices
(VDisplayable<?> vComponent, Temporal startOriginalRecurrence) Produce the map of change dialog options and the date range the option affectsstatic <U extends VDisplayable<U>>
Map<ChangeDialogOption, javafx.util.Pair<Temporal, Temporal>> makeDialogChoices
(U vComponentOriginal, U vComponentEdited, Temporal startRecurrence, Collection<VPropertyElement> changedProperties) Produce the map of change dialog options and the date range the option affectsstatic ChangeDialogOption
Returns the enum constant of this class with the specified name.static ChangeDialogOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE
-
ALL
-
ALL_IGNORE_RECURRENCES
-
THIS_AND_FUTURE
-
THIS_AND_FUTURE_IGNORE_RECURRENCES
-
CANCEL
-
-
Constructor Details
-
ChangeDialogOption
private ChangeDialogOption()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
makeDialogChoices
public static <U extends VDisplayable<U>> Map<ChangeDialogOption,javafx.util.Pair<Temporal, makeDialogChoicesTemporal>> (U vComponentOriginal, U vComponentEdited, Temporal startRecurrence, Collection<VPropertyElement> changedProperties) Produce the map of change dialog options and the date range the option affects- Parameters:
vComponentOriginal
- clone of uneditedVDisplayable
vComponentEdited
- editedVDisplayable
(only descriptive properties are edited, date/time properties are not edited)startRecurrence
- start date/time of selected recurrencechangedProperties
- list of VPropertyElement that are changed between vComponentOriginal and vComponentEdited- Returns:
- Map with key as available
ChangeDialogOption
and value start, end date/time pair to be affected by change - See Also:
-
makeDialogChoices
public static <U extends VDisplayable<U>> Map<ChangeDialogOption,javafx.util.Pair<Temporal, makeDialogChoicesTemporal>> (VDisplayable<?> vComponent, Temporal startOriginalRecurrence) Produce the map of change dialog options and the date range the option affects- Parameters:
vComponent
-VDisplayable
to be deletedstartOriginalRecurrence
- start date/time of selected recurrence- Returns:
- Map with key as available
ChangeDialogOption
and value start, end date/time pair to be affected by change - See Also:
-