Class WrapperSessionScanViewConfigOptionSegmentConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class WrapperSessionScanViewConfigOptionSegmentConfig implements Serializable
WrapperSessionScanViewConfigOptionSegmentConfig
Multi-mode segment control allowing users to switch between different scanning configurations (e.g., MRZ, Barcode, License Plate modes). Requires equal numbers of titles and viewConfigs.
-
-
Constructor Summary
Constructors Constructor Description WrapperSessionScanViewConfigOptionSegmentConfig()
-
Method Summary
Modifier and Type Method Description List<String>getViewConfigs()Array of ScanView configuration filenames located in the assets folder. voidsetViewConfigs(List<String> viewConfigs)Array of ScanView configuration filenames located in the assets folder. List<String>getTitles()Array of display names for each scanning mode shown to users in the segment control. voidsetTitles(List<String> titles)Array of display names for each scanning mode shown to users in the segment control. IntegergetTitleIndex()Zero-based index indicating which segment should be initially selected. voidsetTitleIndex(Integer titleIndex)Zero-based index indicating which segment should be initially selected. StringgetTintColor()Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting. voidsetTintColor(String tintColor)Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting. DoublegetOffsetX()WrapperSessionScanViewConfigOptionOffsetConfig Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis. voidsetOffsetX(Double offsetX)WrapperSessionScanViewConfigOptionOffsetConfig Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis. DoublegetOffsetY()WrapperSessionScanViewConfigOptionOffsetConfig Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis. voidsetOffsetY(Double offsetY)WrapperSessionScanViewConfigOptionOffsetConfig Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getViewConfigs
List<String> getViewConfigs()
Array of ScanView configuration filenames located in the assets folder. Each file defines a complete scanning mode configuration.
-
setViewConfigs
void setViewConfigs(List<String> viewConfigs)
Array of ScanView configuration filenames located in the assets folder. Each file defines a complete scanning mode configuration.
-
getTitles
List<String> getTitles()
Array of display names for each scanning mode shown to users in the segment control.
-
setTitles
void setTitles(List<String> titles)
Array of display names for each scanning mode shown to users in the segment control.
-
getTitleIndex
Integer getTitleIndex()
Zero-based index indicating which segment should be initially selected. Must be within the bounds of the titles array.
-
setTitleIndex
void setTitleIndex(Integer titleIndex)
Zero-based index indicating which segment should be initially selected. Must be within the bounds of the titles array.
-
getTintColor
String getTintColor()
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting.
-
setTintColor
void setTintColor(String tintColor)
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting.
-
getOffsetX
Double getOffsetX()
WrapperSessionScanViewConfigOptionOffsetConfig
Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis.
-
setOffsetX
void setOffsetX(Double offsetX)
WrapperSessionScanViewConfigOptionOffsetConfig
Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis.
-
getOffsetY
Double getOffsetY()
WrapperSessionScanViewConfigOptionOffsetConfig
Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis.
-
setOffsetY
void setOffsetY(Double offsetY)
WrapperSessionScanViewConfigOptionOffsetConfig
Pixel offset (positive or negative) for fine-tuning a UI element's position along one axis.
-
hashCode
int hashCode()
-
-
-
-