Package com.scriptel.proscript
Class Configuration
- java.lang.Object
-
- com.scriptel.proscript.Configuration
-
public class Configuration extends java.lang.ObjectThis class represents the device configuration on a ScripTouch mouse device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDeviceId()Gets the device id.intgetDeviceMode()Gets the current device mode.voidsetDeviceId(int deviceId)Sets the current device id.voidsetDeviceMode(int deviceMode)Sets the current device mode.java.lang.StringtoString()Prints this object as a human readable string.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Prints this object as a human readable string.- Overrides:
toStringin classjava.lang.Object- Returns:
- Human readable string.
-
getDeviceMode
public int getDeviceMode()
Gets the current device mode.- Returns:
- Current device mode.
-
getDeviceId
public int getDeviceId()
Gets the device id.- Returns:
- The device id
-
setDeviceMode
public void setDeviceMode(int deviceMode)
Sets the current device mode.- Parameters:
deviceMode- the deviceMode to set
-
setDeviceId
public void setDeviceId(int deviceId)
Sets the current device id.- Parameters:
deviceId- the deviceId to set
-
-