public class

TouchManager

extends Object
java.lang.Object
   ↳ com.datalogic.device.input.TouchManager

Class Overview

This class provides access to touch panel related methods of the device.

Summary

Public Constructors
TouchManager()
This is the constructor of TouchManager.
Public Methods
boolean isInputLocked()
Tells if the input from touchscreen is locked.
int lockInput(boolean lock)
Locks or unlocks the input from touchscreen.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TouchManager ()

Added in revision 1

This is the constructor of TouchManager.

Throws
DeviceException in case of error.

Public Methods

public boolean isInputLocked ()

Added in revision 1

Tells if the input from touchscreen is locked.

Returns
  • boolean it returns whether or not the touchscreen is locked.
Throws
DeviceException in case of error, when exceptions are enabled through the ErrorManager singleton.

public int lockInput (boolean lock)

Added in revision 1

Locks or unlocks the input from touchscreen.

Parameters
lock boolean param that specifies whether or not the touchscreen will be locked.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the DeviceException error constants.
Throws
DeviceException in case of error, when exceptions are enabled through the ErrorManager singleton.