Interface BeverageSelectionListener
- All Superinterfaces:
BeveragePipelineListener
Listener for changes in the selected pourable.
- Since:
- 1.0
- Version:
- 2024-08-22
-
Method Summary
Modifier and TypeMethodDescriptionvoidonBeverageSelect(BeverageNozzlePipeline pipeline, Pourable pourable) Called when a new pourable is selected.voidonBeverageUnselect(BeverageNozzlePipeline pipeline) Called when the current selection is cleared.
-
Method Details
-
onBeverageSelect
Called when a new pourable is selected.- Parameters:
pipeline- the pipeline generating the eventpourable- the newly selected pourable
-
onBeverageUnselect
Called when the current selection is cleared. This is not called when the selection is replaced by another pourable, only when the current selection is cleared.- Parameters:
pipeline- the pipeline generating the event
-