to top
Datalogic APIs
public final enum

GoodReadOverlayDisplayPolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.decode.configuration.GoodReadOverlayDisplayPolicy

Class Overview

The GoodReadOverlayDisplayPolicy is an enumeration defining how to display the Good Read Overlay.

Summary

Enum Values
GoodReadOverlayDisplayPolicy  CUSTOM_SIZE  Display the overlay using the custom size defined by GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_WIDTH, GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_HEIGHT, GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_WIDTH and GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_HEIGHT
GoodReadOverlayDisplayPolicy  FIT  Display the overlay to fit the screen. 
GoodReadOverlayDisplayPolicy  ORIGINAL  Display the overlay using its original dimension. 
Public Methods
static GoodReadOverlayDisplayPolicy valueOf(String name)
final static GoodReadOverlayDisplayPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final GoodReadOverlayDisplayPolicy CUSTOM_SIZE

Added in revision 41

Display the overlay using the custom size defined by GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_WIDTH, GOOD_READ_OVERLAY_PORTRAIT_CUSTOM_SIZE_MAX_HEIGHT, GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_WIDTH and GOOD_READ_OVERLAY_LANDSCAPE_CUSTOM_SIZE_MAX_HEIGHT. To keep the ratio of the image used, the most restrictive requirement is enforced and the other dimension is set to mantain the correct aspect ratio.

public static final GoodReadOverlayDisplayPolicy FIT

Added in revision 41

Display the overlay to fit the screen. The ratio of the image is kept.

public static final GoodReadOverlayDisplayPolicy ORIGINAL

Added in revision 41

Display the overlay using its original dimension.

Public Methods

public static GoodReadOverlayDisplayPolicy valueOf (String name)

Added in revision 41

public static final GoodReadOverlayDisplayPolicy[] values ()

Added in revision 41