public static class InputDialog.InputDialogCloseEvent
extends java.util.EventObject
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(Screen source,
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() |
InputDialog |
getSource() |
<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(Screen source, java.util.Map<java.lang.String,java.lang.Object> values, CloseAction closeAction)
public InputDialog getSource()
getSource
in class java.util.EventObject
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 id