Class BaseCopyDialogController

java.lang.Object
eirb.pub.app.display.javafx.view.vault.viewer.BaseCopyDialogController
Direct Known Subclasses:
UserDataDialogController, UserDataDialogViewController

public class BaseCopyDialogController extends Object
  • Constructor Details

    • BaseCopyDialogController

      public BaseCopyDialogController()
  • Method Details

    • copyToClipboard

      protected void copyToClipboard(javafx.scene.control.Button copyButton, String fieldToCopy)
      Copies the content of the given field to the clipboard and disables the button temporarily to prevent multiple clicks. It also applies a temporary animation effect to the button.
      Parameters:
      copyButton - The button that triggered the copy action.
      fieldToCopy - The text field whose content is copied to the clipboard.