Interface DataSlot.ChangeListener<T>
- Type Parameters:
T- the data slot content type
- 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 for data slot value changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonValueChanged(DataSlot<T> dataSlot, T from, T to) Called when a data slot's value changes.
-
Method Details
-
onValueChanged
Called when a data slot's value changes.- Parameters:
dataSlot- the data slot for which the event was triggeredfrom- the old valueto- the new value
-