Package com.scriptel.proscript
Class Configuration
- java.lang.Object
-
- com.scriptel.proscript.Configuration
-
public class Configuration extends java.lang.Object
This class represents the device configuration on a ScripTouch mouse device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeviceId()
Gets the device id.int
getDeviceMode()
Gets the current device mode.void
setDeviceId(int deviceId)
Sets the current device id.void
setDeviceMode(int deviceMode)
Sets the current device mode.java.lang.String
toString()
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:
toString
in 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
-
-