java.lang.Object
jfxtras.scene.control.agenda.icalendar.editors.revisors.SimpleRevisorFactory

public class SimpleRevisorFactory extends Object

Simple factory to create Reviser objects. Two methods to create scenes exist. One takes only a VComponent as a parameter and builds an empty Reviser. The second takes a VComponent and an array of parameters required to completely initialize the Reviser.

The parameters array contains the following:

  • Callback<Map<ChangeDialogOption, Pair<Temporal, Temporal>>, ChangeDialogOption> - callback for user dialog
  • Temporal - endRecurrence, end of selected recurrence
  • Temporal - startRecurrence, start of selected recurrence
  • Temporal - startOriginalRecurrence, start of selected recurrence
  • VComponent - VComponent with non-time changes applied
  • VComponent - copy of original unchanged VComponent

  • Constructor Details

    • SimpleRevisorFactory

      public SimpleRevisorFactory()
  • Method Details

    • newReviser

      public static Reviser newReviser(VComponent vComponent, Object[] params)
      New reviser with all parameters packaged in an array
    • newReviser

      public static Reviser newReviser(VComponent vComponent)
      New reviser without parameters