public class

EnumProperty

extends Property<T>
java.lang.Object
   ↳ com.datalogic.device.configuration.Property<T>
     ↳ com.datalogic.device.configuration.EnumProperty<E extends java.lang.Enum<E>>

Class Overview

EnumProperty is the class that implements the property of type Enum.

Summary

Public Constructors
EnumProperty(int index)
Constructor
Public Methods
Class<E> getEnum()
Returns the class object corresponding to the Enum
E[] getEnumConstants()
Returns the allowed elements of the Enum.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.Property
From class java.lang.Object

Public Constructors

public EnumProperty (int index)

Added in revision 1

Constructor

Public Methods

public Class<E> getEnum ()

Added in revision 1

Returns the class object corresponding to the Enum

Returns
  • Class representing the corresponding class, null in case of error.

public E[] getEnumConstants ()

Added in revision 30

Returns the allowed elements of the Enum. The allowed values of the Enum can be profiled based on the model and sku of the device,