Package io.jmix.ui.app.inputdialog
Class InputDialog.InputDialogCloseEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.app.inputdialog.InputDialog.InputDialogCloseEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- InputDialog
Event sent to a listener added using
withCloseListener()
method of the input dialog builder.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionInputDialogCloseEvent
(Screen source, Map<String, Object> values, CloseAction closeAction) -
Method Summary
Modifier and TypeMethodDescriptionboolean
closedWith
(DialogOutcome outcome) Checks that the dialog was closed with the givenoutcome
.<T> T
Returns values from parameters.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
closeAction
-
values
-
-
Constructor Details
-
InputDialogCloseEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getCloseAction
- Returns:
- close action
-
closedWith
Checks that the dialog was closed with the givenoutcome
. -
getValues
Returns values from parameters. Key - parameter id, Value - parameter value.- Returns:
- values
-
getValue
- Parameters:
parameterId
- parameter id- Returns:
- parameter value
-