public class WiaCapability extends Capability
Capability.ValidValues, Capability.ValidValuesFlag, Capability.ValidValuesList, Capability.ValidValuesRange
Constructor and Description |
---|
WiaCapability(long id,
String name,
String description,
long type,
long flags,
Object validValuesObject,
Object currentValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWritable()
Whether this capability allows the end user to set.
|
void |
setNewValue(Object newValue)
New value to be set to the device.
|
String |
toString() |
getCurrentValue, getCurrentValueAsLong, getCurrentValueAsString, getDescription, getFlags, getId, getName, getNewValue, getType, getValidValues, getValue, getValueAsLong, getValueAsString, hasNewValue, isForceSet, isThrowExceptionIfSetFailed, needToWriteToDevice, setForceSet, setThrowExceptionIfSetFailed, unset, update
public void setNewValue(Object newValue)
Capability
setNewValue
in class Capability
public boolean isWritable()
Capability
isWritable
in class Capability
Copyright © 2014 LAB Asprise. All Rights Reserved.