| Package | Description |
|---|---|
| org.dajlab.jcontrollab.core |
| Modifier and Type | Method and Description |
|---|---|
static InputPortEnum |
InputPortEnum.fromValue(int codeEnum)
Convert the port value to the enum.
|
InputPortEnum |
Input.getPort() |
static InputPortEnum |
InputPortEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputPortEnum[] |
InputPortEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<S extends Input> |
ControlLabInterface.getInput(Class<S> clazz,
InputPortEnum inputPort)
Get the input type declared by clazz for this port.
|
<S extends Input> |
ControlLabImpl.getInput(Class<S> clazz,
InputPortEnum inputPort)
Get the input type declared by clazz for this port.
|
| Constructor and Description |
|---|
Input(ControlLabInterface controllab,
InputPortEnum port)
Constructor.
|
LightSensor(ControlLabInterface controllab,
InputPortEnum port)
Constructor.
|
RotationSensor(ControlLabInterface controllab,
InputPortEnum port)
Constructor.
|
TemperatureSensor(ControlLabInterface controllab,
InputPortEnum port)
Constructor.
|
TouchSensor(ControlLabInterface controllab,
InputPortEnum port)
Constructor.
|
Copyright © 2018. All rights reserved.