Class BaseCopyDialogController
java.lang.Object
eirb.pub.app.display.javafx.view.vault.viewer.BaseCopyDialogController
- Direct Known Subclasses:
UserDataDialogController,UserDataDialogViewController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyToClipboard(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.
-
Constructor Details
-
BaseCopyDialogController
public BaseCopyDialogController()
-
-
Method Details
-
copyToClipboard
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.
-