Interface IBatchBarcodeListView.ViewModel
-
- All Implemented Interfaces:
public interface IBatchBarcodeListView.ViewModelNotified about user interactions.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsubmitButtonClick()User wants to finish the flow. abstract UnitdeleteScannedBarcode(BarcodeItem barcodeItem)User wants to delete scanned item. abstract UnitclearClick()User wants to clear the list of items. abstract UnitdetailsOpened()User opened the details screen. abstract UnitdetailsClosed()User closed the details screen. abstract UnitonFinishCurrentState()Triggered when the signal to finish was received from outside. abstract UnitsetBarcodeFilter(IBarcodeFilter barcodeFilter)Set the instance of IBarcodeFilterimplementation to filter accepted scanned barcodesabstract UnitonBarcodeSelected(List<BarcodeItem> selected, Boolean automaticSelection)When user clicked on a specific barcode on the Barcode selection overlay abstract UnitsetSelectionLayerEnabled(Boolean enabled)Enables or disables barcode selection overlay layer abstract <Error class: unknown class><List<BarcodeItem>>getBarcodes()abstract <Error class: unknown class><List<BarcodeMappedResult>>getMappedBarcodes()abstract BarcodePolygonsView.BarcodeHighlightDelegategetHighlightDelegate()Set this delegate to the barcode selection overlay -
-
Method Detail
-
submitButtonClick
abstract Unit submitButtonClick()
User wants to finish the flow.
-
deleteScannedBarcode
abstract Unit deleteScannedBarcode(BarcodeItem barcodeItem)
User wants to delete scanned item.
-
clearClick
abstract Unit clearClick()
User wants to clear the list of items.
-
detailsOpened
abstract Unit detailsOpened()
User opened the details screen.
-
detailsClosed
abstract Unit detailsClosed()
User closed the details screen.
-
onFinishCurrentState
abstract Unit onFinishCurrentState()
Triggered when the signal to finish was received from outside.
-
setBarcodeFilter
abstract Unit setBarcodeFilter(IBarcodeFilter barcodeFilter)
Set the instance of
IBarcodeFilterimplementation to filter accepted scanned barcodes
-
onBarcodeSelected
abstract Unit onBarcodeSelected(List<BarcodeItem> selected, Boolean automaticSelection)
When user clicked on a specific barcode on the Barcode selection overlay
-
setSelectionLayerEnabled
abstract Unit setSelectionLayerEnabled(Boolean enabled)
Enables or disables barcode selection overlay layer
-
getBarcodes
abstract <Error class: unknown class><List<BarcodeItem>> getBarcodes()
-
getMappedBarcodes
abstract <Error class: unknown class><List<BarcodeMappedResult>> getMappedBarcodes()
-
getHighlightDelegate
abstract BarcodePolygonsView.BarcodeHighlightDelegate getHighlightDelegate()
Set this delegate to the barcode selection overlay
-
-
-
-