to top
Datalogic APIs
public class

TextProperty

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

Class Overview

TextProperty is the class that implements the property of type String.

Summary

Public Constructors
TextProperty(int index)
This is the constructor of TextProperty.
Public Methods
int load(PropertyGetter from)
Loads the property with the current set values, through a PropertyGetter.
int store(PropertyEditor to)
Stores the Property value, applying them.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.Property
From class java.lang.Object

Public Constructors

public TextProperty (int index)

Added in revision 1

This is the constructor of TextProperty.

Parameters
index int the corresponding ID.

Public Methods

public int load (PropertyGetter from)

Added in revision 1

Loads the property with the current set values, through a PropertyGetter.

Parameters
from The PropertyGetter called to synchronize the current values.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.

public int store (PropertyEditor to)

Added in revision 1

Stores the Property value, applying them. The change is not persistent across system reboot. See the BarcodeManager persistance note.

Parameters
to The PropertyEditor in charge of applying the desired values.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.