public enum ChangeDialogOption extends java.lang.Enum<ChangeDialogOption>
Options available when editing or deleting a repeatable appointment.
Enum Constant and Description |
---|
ALL |
ALL_IGNORE_RECURRENCES |
CANCEL |
ONE |
THIS_AND_FUTURE |
THIS_AND_FUTURE_IGNORE_RECURRENCES |
Modifier and Type | Method and Description |
---|---|
static <U extends jfxtras.icalendarfx.components.VDisplayable<U>> |
makeDialogChoices(U vComponentOriginal,
U vComponentEdited,
java.time.temporal.Temporal startRecurrence,
java.util.List<jfxtras.icalendarfx.properties.PropertyType> changedProperties)
Produce the map of change dialog options and the date range the option affects
|
static <U extends jfxtras.icalendarfx.components.VDisplayable<U>> |
makeDialogChoices(jfxtras.icalendarfx.components.VDisplayable<?> vComponent,
java.time.temporal.Temporal startOriginalRecurrence)
Produce the map of change dialog options and the date range the option affects
|
static ChangeDialogOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeDialogOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeDialogOption ONE
public static final ChangeDialogOption ALL
public static final ChangeDialogOption ALL_IGNORE_RECURRENCES
public static final ChangeDialogOption THIS_AND_FUTURE
public static final ChangeDialogOption THIS_AND_FUTURE_IGNORE_RECURRENCES
public static final ChangeDialogOption CANCEL
public static ChangeDialogOption[] values()
for (ChangeDialogOption c : ChangeDialogOption.values()) System.out.println(c);
public static ChangeDialogOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static <U extends jfxtras.icalendarfx.components.VDisplayable<U>> java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>> makeDialogChoices(U vComponentOriginal, U vComponentEdited, java.time.temporal.Temporal startRecurrence, java.util.List<jfxtras.icalendarfx.properties.PropertyType> changedProperties)
Produce the map of change dialog options and the date range the option affects
vComponentOriginal
- clone of unedited VDisplayable
vComponentEdited
- edited VDisplayable
(only descriptive properties are edited, date/time properties are not edited)startRecurrence
- start date/time of selected recurrencechangedProperties
- list of PropertyType that are changed between vComponentOriginal and vComponentEditedChangeDialogOption
and value start, end date/time pair to be affected by changeReviser
public static <U extends jfxtras.icalendarfx.components.VDisplayable<U>> java.util.Map<ChangeDialogOption,javafx.util.Pair<java.time.temporal.Temporal,java.time.temporal.Temporal>> makeDialogChoices(jfxtras.icalendarfx.components.VDisplayable<?> vComponent, java.time.temporal.Temporal startOriginalRecurrence)
Produce the map of change dialog options and the date range the option affects
vComponent
- VDisplayable
to be deletedstartOriginalRecurrence
- start date/time of selected recurrenceChangeDialogOption
and value start, end date/time pair to be affected by changeDeleter