public interface InputDelegate
InputDelegate
implementation and the nuclos core.Modifier and Type | Method and Description |
---|---|
default void |
close()
Close the input delegate view, this will be called before the dialog is being closed.
|
java.util.Map<java.lang.String,java.io.Serializable> |
evaluate()
Validate and collect data from input components.
|
javax.swing.JPanel |
initialize(java.util.Map<java.lang.String,java.io.Serializable> data)
Initialize the input delegate view with optional context data from server.
|
default void |
setCompletionConsumer(java.util.function.Consumer<java.lang.Boolean> completionConsumer)
A "Completion Consumer" can be optionally usedm by whom the implemenation can notify when input is (in)complete.
|
javax.swing.JPanel initialize(java.util.Map<java.lang.String,java.io.Serializable> data)
data
- Context data from server or rule (optional)JPanel
with the input components the user will see.java.util.Map<java.lang.String,java.io.Serializable> evaluate() throws InputValidationException
InputValidationException
- If user input is incomplete or entered values are invalid.default void close()
default void setCompletionConsumer(java.util.function.Consumer<java.lang.Boolean> completionConsumer)
Copyright © 2024. All rights reserved.