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
|
static
Property
|
findPropertybyId(ArrayList<Property> list, int id)
Finds the corresponding Property matching the passed ID, in a list of Properties.
|
|
T
|
get()
Gets the current value of the Property.
|
|
T
|
getDefault()
Gets the default value of the Property.
|
|
int
|
getId()
Gets the integer value of the unique identifier PropertyID of the property.
|
|
String
|
getName()
Gets the name of the unique identifier PropertyID of the property.
|
|
boolean
|
getNeedReboot()
Returns whether a Property needs a device reboot to be applied or not.
|
|
PropertyType
|
getType()
Gets the type of the Property.
|
|
boolean
|
isReadOnly()
Returns whether a Property is read only or not.
|
|
boolean
|
isSupported()
Returns whether a Property is supported or not.
|
|
int
|
load(PropertyGetter from)
Loads the property with the current set values, through a PropertyGetter.
|
|
static
int
|
loadlist(PropertyGetter from, ArrayList list)
Loads and sync the current set values into all the Properties contained in the passed list.
|
|
int
|
set(T value)
Sets the value of the property, it is not applied to the device.
|
|
int
|
setToDefault()
Resets to the default value the property.
|
|
int
|
store(PropertyEditor to)
Stores the Property value, applying them.
|
|
static
int
|
storelist(PropertyEditor to, ArrayList list)
Stores and applies all the Properties and their current associated values.
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
public
TextProperty
(int index)
This is the constructor of TextProperty.
Parameters
| index
| int the corresponding ID.
|
Public Methods
Loads the property with the current set values, through a PropertyGetter.
Returns
int SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.
Stores the Property value, applying them. The change is not persistent across system reboot. See the BarcodeManager persistance note.
Returns
int SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.