Class InputVerifierStore
java.lang.Object
com.vaadin.swingbridge.surrogates.internal.InputVerifierStore
Per-component slot for the surrogate's installed
InputVerifier
plus the matching Vaadin BlurNotifier Registration that
drives it. Unified into one store so setInputVerifier can swap
verifier and listener atomically: previous registration tears down before
the new one installs, so the user-listener fan-out stays at one verify
call per blur regardless of how many times the verifier is replaced.
Carve-out justification (R_vaadin_first): InputVerifier drives UI behaviour
(blur-time validation, focus restoration), not API round-trip — same
"UI-functionality bucket" as ButtonModel storage on SJButton. The
Registration tracking is the surrogate's own subscription bookkeeping
(analogous to Registrations for listener-typed APIs). Single
replaceable slot, not a list, so the slot lives outside
Registrations' EventListener-keyed map.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputVerifierStoreof(com.vaadin.flow.component.Component target) voidset(InputVerifier newVerifier, com.vaadin.flow.shared.Registration newReg) Swap tonewVerifierwithnewRegas its Vaadin blur subscription.
-
Method Details
-
of
-
getVerifier
-