@Deprecated
public static interface LookupField.NewOptionHandler
extends java.util.function.Consumer<java.lang.String>
LookupField.setNewOptionAllowed(boolean)
is set to true.Modifier and Type | Method and Description |
---|---|
default void |
accept(java.lang.String caption)
Deprecated.
|
void |
addNewOption(java.lang.String caption)
Deprecated.
Called when user enters a value which is not in the options list, and presses Enter.
|
default void accept(java.lang.String caption)
accept
in interface java.util.function.Consumer<java.lang.String>
void addNewOption(java.lang.String caption)
caption
- value entered by user