Class Overview
MultipleChoiceProperty is the class that implements the property of type
MultipleChoice.
The single choices are defined by the class that can be retrieved calling getChoices().
The value of the property is a combination of single choices.
The combinations of the single choices that are allowed values can be retrieved calling getAllowedValues().
Summary
| Public Methods |
|
Integer[]
|
getAllowedValues()
Returns the allowed values of the property.
|
|
Class
|
getChoices()
Returns the class object that list the single choices that can be selected.
|
|
[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 Methods
public
Integer[]
getAllowedValues
()
Returns the allowed values of the property.
The allowed values of the property are profiled based on the model and sku of the device,
Returns
- Integer[] The allowed values.
public
Class
getChoices
()
Returns the class object that list the single choices that can be selected.
Returns
- Class representing the corresponding class, null in case
of error.