Class ReviserLocatable<T,U extends VLocatable<U>>

java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserDisplayable<T,U>
jfxtras.scene.control.agenda.icalendar.editors.revisors.ReviserLocatable<T,U>
Type Parameters:
T - concrete implementation of this class
U - concrete
invalid reference
VComponentLocatable
class
All Implemented Interfaces:
Reviser
Direct Known Subclasses:
ReviserVEvent, ReviserVTodo

public abstract class ReviserLocatable<T,U extends VLocatable<U>> extends ReviserDisplayable<T,U>
Handles revising a
invalid reference
VComponentLocatable
  • Field Details

    • endRecurrence

      private Temporal endRecurrence
  • Constructor Details

    • ReviserLocatable

      public ReviserLocatable(U component)
  • Method Details

    • getEndRecurrence

      public Temporal getEndRecurrence()
      Gets the value of the end of the selected recurrence after changes
    • setEndRecurrence

      public void setEndRecurrence(Temporal startRecurrence)
      Sets the value of the end of the selected recurrence after changes
    • withEndRecurrence

      public T withEndRecurrence(Temporal endRecurrence)
      Sets the value of the end of the selected recurrence after changes
      Returns:
      - this class for chaining
    • isValid

      boolean isValid()
      Description copied from class: ReviserDisplayable
      Tests the object state is valid and revision can proceed. Returns true if valid, false otherwise
      Overrides:
      isValid in class ReviserDisplayable<T,U extends VLocatable<U>>
    • adjustStartAndEnd

      void adjustStartAndEnd(U vComponentEditedCopy, U vComponentOriginalCopy)
      Overrides:
      adjustStartAndEnd in class ReviserDisplayable<T,U extends VLocatable<U>>
    • becomeNonRecurring

      void becomeNonRecurring(U vComponentEditedCopy)
      Description copied from class: ReviserDisplayable
      Make changes necessary for making a repeating component into a non-repeating component
      Overrides:
      becomeNonRecurring in class ReviserDisplayable<T,U extends VLocatable<U>>
    • dialogRequiredProperties

      public List<VPropertyElement> dialogRequiredProperties()
      Description copied from class: ReviserDisplayable
      Returned list of VPropertyElement values, that when changed, necessitate a user dialog to determine scope of change. If changes do not contain ANY VPropertyElement in the returned list then changes can proceed automatically without a user dialog.
      Overrides:
      dialogRequiredProperties in class ReviserDisplayable<T,U extends VLocatable<U>>
      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)