Mixin that adds ability to easily show message dialogs. A messageLogger can be provided, so when the error or warning dialogs are shown, they are also logged.
A ShowMessage mixin will typically be used with the ModelFX.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BusyWorker
Members list
Value members
Concrete methods
Show a confirmation dialog with "OK" and "Cancel" buttons.
Show a confirmation dialog with "OK" and "Cancel" buttons.
Value parameters
- content
-
content text.
- header
-
header text.
- title
-
dialog title.
Attributes
- Returns
-
truewhen user selected 'OK' andfalsewhen user selectedCancelor dismissed the dialog.
Show a confirmation dialog with "OK", "No", and "Cancel" buttons.
Show a confirmation dialog with "OK", "No", and "Cancel" buttons.
Value parameters
- content
-
content text.
- header
-
header text.
- title
-
dialog title.
Attributes
- Returns
-
Some(true)when user selected 'OK',Some(false)when user selectedNo, andNoneuser selectedCancelor dismissed the dialog.
Show error dialog
Show error dialog
Value parameters
- content
-
main content text.
- header
-
header text.
- title
-
dialog title
Attributes
Displays error dialog with expandable exception information.
Displays error dialog with expandable exception information.
Value parameters
- message
-
Message (excluding t.getMessage(), it is automatically displayed)
- t
-
exception to be displayed in the dialog
- title
-
Dialog title
Attributes
Show information dialog
Show information dialog
Value parameters
- content
-
main content text.
- header
-
header text.
- title
-
dialog title