Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React to close/save actions found in PreferencesDialog #20

Closed
aalmiray opened this issue Jun 27, 2018 · 0 comments
Closed

React to close/save actions found in PreferencesDialog #20

aalmiray opened this issue Jun 27, 2018 · 0 comments

Comments

@aalmiray
Copy link
Contributor

I have the need to find out if the Close or Save buttons found in PreferencesDialog were clicked, but it's not possible to reach the event source (the buttons) without resorting to reflection hacks.

Suggestion: return the ButtonType in show(boolean) (see #7). However this suggestion does not cover the use case where the dialog is non-modal (old behavior of preferencesfx.show()) thus perhaps adding close/save event handlers (or listeners) to PreferencesFX would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant