Class DuplicateAction

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

public class DuplicateAction extends AbstractSelectionAction
Duplicates the selected region.
Author:
Werner Randelshofer.
  • Field Details

  • Constructor Details

    • DuplicateAction

      public DuplicateAction(@NonNull Application app)
      Creates a new instance which acts on the currently focused component.
      Parameters:
      app - the application
    • DuplicateAction

      public DuplicateAction(@NonNull Application app, @Nullable javafx.scene.Node target)
      Creates a new instance which acts on the specified component.
      Parameters:
      app - the application
      target - The target of the action. Specify null for the currently focused component.
  • Method Details