Enum Class ChangeDialogOption

java.lang.Object
java.lang.Enum<ChangeDialogOption>
jfxtras.scene.control.agenda.icalendar.editors.ChangeDialogOption
All Implemented Interfaces:
Serializable, Comparable<ChangeDialogOption>, Constable

public enum ChangeDialogOption extends Enum<ChangeDialogOption>
Options available when editing or deleting a repeatable appointment.
  • Enum Constant Details

  • Constructor Details

    • ChangeDialogOption

      private ChangeDialogOption()
  • Method Details

    • values

      public static ChangeDialogOption[] 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

      public static ChangeDialogOption valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • makeDialogChoices

      public static <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 affects
      Parameters:
      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 recurrence
      changedProperties - 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,Temporal>> makeDialogChoices(VDisplayable<?> vComponent, Temporal startOriginalRecurrence)
      Produce the map of change dialog options and the date range the option affects
      Parameters:
      vComponent - VDisplayable to be deleted
      startOriginalRecurrence - 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: