public class

NumericProperty

extends Property<T>
java.lang.Object
   ↳ com.datalogic.device.configuration.Property<T>
     ↳ com.datalogic.device.configuration.NumericProperty

Class Overview

NumericProperty is the class that implements the property of type Integer.

Summary

Public Constructors
NumericProperty(int index, int min, int max)
Constructor
NumericProperty(int index)
Constructor
Public Methods
int getMax()
Get max limit
int getMin()
Get min limit
int set(Integer value)
Sets the desired value.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.Property
From class java.lang.Object

Public Constructors

public NumericProperty (int index, int min, int max)

Added in revision 1

Constructor

Parameters
index int
min int
max int

public NumericProperty (int index)

Added in revision 1

Constructor

Parameters
index int
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.

Public Methods

public int getMax ()

Added in revision 1

Get max limit

Returns
  • int

public int getMin ()

Added in revision 1

Get min limit

Returns
  • int

public int set (Integer value)

Added in revision 1

Sets the desired value.

Parameters
value Integer
Returns
  • int SUCCESS in case of success otherwise a possible error code, matching one of the ConfigException error constants.