endrov.hardware
Class DevicePropertyType

java.lang.Object
  extended by endrov.hardware.DevicePropertyType

public class DevicePropertyType
extends java.lang.Object

Hardware device property type


Field Summary
 java.util.TreeSet<java.lang.String> categories
           
 boolean hasRange
           
 boolean isBoolean
           
 boolean isString
           
 double rangeLower
           
 double rangeUpper
           
 boolean readOnly
           
 
Constructor Summary
DevicePropertyType()
           
 
Method Summary
static DevicePropertyType getEditableBooleanState()
           
static DevicePropertyType getEditableCategoryState(java.lang.String[] stateName)
           
static DevicePropertyType getEditableIntState()
           
static DevicePropertyType getEditableIntState(int[] state)
           
static DevicePropertyType getEditableIntState(int min, int max)
           
static DevicePropertyType getEditableStringState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readOnly

public boolean readOnly

isBoolean

public boolean isBoolean

isString

public boolean isString

categories

public java.util.TreeSet<java.lang.String> categories

hasRange

public boolean hasRange

rangeLower

public double rangeLower

rangeUpper

public double rangeUpper
Constructor Detail

DevicePropertyType

public DevicePropertyType()
Method Detail

getEditableBooleanState

public static DevicePropertyType getEditableBooleanState()

getEditableStringState

public static DevicePropertyType getEditableStringState()

getEditableIntState

public static DevicePropertyType getEditableIntState()

getEditableIntState

public static DevicePropertyType getEditableIntState(int min,
                                                     int max)

getEditableIntState

public static DevicePropertyType getEditableIntState(int[] state)

getEditableCategoryState

public static DevicePropertyType getEditableCategoryState(java.lang.String[] stateName)