Class Overview
EnumProperty
is the class that implements the property of type
Enum.
Summary
Public Methods |
Class<E>
|
getEnum()
Returns the class object corresponding to the Enum
|
E[]
|
getEnumConstants()
Returns the allowed elements of the Enum.
|
[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
EnumProperty
(int index)
Public Methods
public
Class<E>
getEnum
()
Returns the class object corresponding to the Enum
Returns
- Class representing the corresponding class, null in case
of error.
public
E[]
getEnumConstants
()
Returns the allowed elements of the Enum.
The allowed values of the Enum can be profiled based on the model and sku of the device,