T- the type of the control's value.
public class GenericDeviceControl<T> extends java.lang.Object
GenericDeviceControlencapsulates a generic peripheral device's configuration and access (I/O) controls. A control can be set or gotten using the
GenericDevice.getControlmethods. Controls can be used to configured a generic peripheral device a well as performing basic input/output operations. The list of controls supported by a peripheral device is peripheral-device-specific.
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Gets the ID of this control.
Gets the type of this control's value.
public GenericDeviceControl(int id, java.lang.Class<T> type)
GenericDeviceControlwith the specified ID and type.
id- the ID of the control.
type- the type of the control's value.
public int getID()
public java.lang.Class<T> getType()
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
ing HTML relocated from here.