public static class InputDialog.InputDialogCloseEvent
extends java.lang.Object
withCloseListener()
method of the input dialog builder.Modifier and Type | Field and Description |
---|---|
protected CloseAction |
closeAction |
protected java.util.Map<java.lang.String,java.lang.Object> |
values |
Constructor and Description |
---|
InputDialogCloseEvent(java.util.Map<java.lang.String,java.lang.Object> values,
CloseAction closeAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
closedWith(DialogOutcome outcome)
Checks that the dialog was closed with the given
outcome . |
CloseAction |
getCloseAction() |
<T> java.util.Optional<T> |
getOptional(java.lang.String parameterId)
Returns optional value from parameter by its id.
|
<T> T |
getValue(java.lang.String parameterId) |
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Returns values from parameters.
|
protected CloseAction closeAction
protected java.util.Map<java.lang.String,java.lang.Object> values
public InputDialogCloseEvent(java.util.Map<java.lang.String,java.lang.Object> values, CloseAction closeAction)
public CloseAction getCloseAction()
public boolean closedWith(DialogOutcome outcome)
outcome
.public java.util.Map<java.lang.String,java.lang.Object> getValues()
@Nullable public <T> T getValue(java.lang.String parameterId)
parameterId
- parameter idpublic <T> java.util.Optional<T> getOptional(java.lang.String parameterId)
parameterId
- parameter id