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)
Constructor
Public Methods
int load(PropertyGetter from)
Loads the property querying the PropertyGetter.
int store(PropertyEditor to)
Store the property value using the passed PropertyEditor.
[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

Constructor

Public Methods

public int load (PropertyGetter from)

Added in revision 1

Loads the property querying the 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.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.

public int store (PropertyEditor to)

Added in revision 1

Store the property value using the passed PropertyEditor.

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.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.