All Implemented Interfaces:
EventListener, javafx.event.EventHandler<javafx.event.ActionEvent>, Action, PropertyBean, Disableable

public class UndoAction extends AbstractActivityAction<Activity>
Undoes the last user action.
Author:
Werner Randelshofer
  • Field Details

  • Constructor Details

    • UndoAction

      public UndoAction(Activity view, FXUndoManager manager)
      Creates a new instance.
      Parameters:
      view - the view
      manager -
  • Method Details

    • onActionPerformed

      protected void onActionPerformed(javafx.event.ActionEvent event, Activity activity)
      Description copied from class: AbstractActivityAction
      This method is invoked when the action is not disabled and the event is not consumed.
      Specified by:
      onActionPerformed in class AbstractActivityAction<Activity>
      Parameters:
      event - the action event
      activity - the activity