public interface

PropertyEditor

implements PropertyGetter
com.datalogic.device.configuration.PropertyEditor
Known Indirect Subclasses

Class Overview

PropertyEditor is the interface to get and set properties from/to the underlying subsystem.

Summary

Public Methods
abstract int commitProperties()
Saves the configuration.
abstract int setPropertyInts(int[] id_buffer, int[] value_buffer)
Sets one or more label programming parameters of type Integer.
abstract int setPropertyStrings(int[] id_buffer, String[] value_buffer)
Sets one or more label programming parameters of type String.
[Expand]
Inherited Methods
From interface com.datalogic.device.configuration.PropertyGetter

Public Methods

public abstract int commitProperties ()

Added in revision 1

Saves the configuration. The configuration is saved in a persistent way across system reboots.

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 abstract int setPropertyInts (int[] id_buffer, int[] value_buffer)

Added in revision 1

Sets one or more label programming parameters of type Integer.

Parameters
id_buffer The int[] of identifiers for parameters to set.
value_buffer The int[] of values associated to the passed IDs to set.
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 abstract int setPropertyStrings (int[] id_buffer, String[] value_buffer)

Added in revision 1

Sets one or more label programming parameters of type String.

Parameters
id_buffer The int[] identifiers for parameters to set.
value_buffer The String[] of values associated to the passed IDs to set.
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.