Package org.robolectric.shadows
Class ShadowInputDevice
java.lang.Object
org.robolectric.shadows.ShadowInputDevice
@Implements(android.view.InputDevice.class) public class ShadowInputDevice extends Object
-
Constructor Summary
Constructors Constructor Description ShadowInputDevice()
-
Method Summary
Modifier and Type Method Description protected String
getName()
protected int
getProductId()
protected int
getVendorId()
static InputDevice
makeInputDeviceNamed(String deviceName)
void
setDeviceName(String deviceName)
void
setProductId(int productId)
void
setVendorId(int vendorId)
-
Constructor Details
-
ShadowInputDevice
public ShadowInputDevice()
-
-
Method Details
-
makeInputDeviceNamed
-
getName
-
getProductId
-
getVendorId
-
setDeviceName
-
setProductId
public void setProductId(int productId) -
setVendorId
public void setVendorId(int vendorId)
-