to top
Datalogic APIs
public final enum

LengthControlMode

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

Class Overview

LengthControlMode is an enumeration defining the operating length control mode for each barcode family that has lengths. This enumeration specify how each L1 and L2 length values should be applied to a label. The type is one of:

NONE Turn off label length check.
ONE_FIXED Only L1 value will be used, the only labels with a fixed L1 length will be considered valid.
TWO_FIXED Both L1 and L2 will be used, only labels with a fixed L1 or L2 length will be considered valid.
RANGE Both L1 and L2 will be used. The only labels with a length that is ranging from the minor length, between L1 and L2, to the major, again between L1 and L2, will be considered valid. If L1 is less than L2, L1 will be considered as the minor length of the desired range; otherwise the opposite.

Summary

Enum Values
LengthControlMode  NONE  No control  
LengthControlMode  ONE_FIXED  One single fixed length control  
LengthControlMode  RANGE  Range length control  
LengthControlMode  TWO_FIXED  Two fixed lengths control  
Public Methods
static LengthControlMode valueOf(String name)
final static LengthControlMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final LengthControlMode NONE

Added in revision 1

No control

public static final LengthControlMode ONE_FIXED

Added in revision 1

One single fixed length control

public static final LengthControlMode RANGE

Added in revision 1

Range length control

public static final LengthControlMode TWO_FIXED

Added in revision 1

Two fixed lengths control

Public Methods

public static LengthControlMode valueOf (String name)

Added in revision 1

public static final LengthControlMode[] values ()

Added in revision 1