public interface CloseConfirmable
confirmClose() method should
For example, a text editor that monitors unsaved changes would implement this
interface. Its confirmClose method would, if unsaved changes exist,
ask the user if they would like to save said changes, e.g. with a
Yes-No-Cancel dialog. The method would return true if
Yes or No was selected in this case, and false if
Canceled.
| Modifier and Type | Method and Description |
|---|---|
boolean |
confirmClose() |
Copyright © 2015–2022 SciJava. All rights reserved.