Package com.vaadin.signals.impl
Interface TransientListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener that is expected to only be invoked the next time some event
occurs but not for subsequent events. The listener can optionally request
that it retained also for the following event.
-
Method Summary
-
Method Details
-
invoke
boolean invoke()Invoked when the next event occurs. The return value indicates whether the listener should be retained.- Returns:
trueto invoke the listener also for the next event,falseto stop invoking the listener
-