- getAngle() - Method in class org.dajlab.jcontrollab.core.RotationSensor
-
Return the current angle, a value between 0 and 15.
- getAvailablePorts() - Static method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialUtils
-
Utility method to return the list of all serial ports.
- getAvailablePorts() - Static method in class org.dajlab.jcontrollab.core.serial.SerialPortFactory
-
Utility method to return the list of all serial ports.
- getCommand() - Method in class org.dajlab.jcontrollab.gui.view.CommandControlLabEvent
-
- getConsoleNumber() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property consoleNumber.
- getControlLab() - Method in class org.dajlab.jcontrollab.core.AbstractPort
-
- getControlLabs() - Method in class org.dajlab.jcontrollab.core.ControlLabManager
-
- getControlLabs() - Method in class org.dajlab.jcontrollab.gui.model.JControlLabModel
-
- getDegreesCelsius() - Method in class org.dajlab.jcontrollab.core.TemperatureSensor
-
- getDegreesFahrenheit() - Method in class org.dajlab.jcontrollab.core.TemperatureSensor
-
- getDirection() - Method in class org.dajlab.jcontrollab.core.RotationSensor
-
Return the direction, CLOCKWISE or COUNTERCW.
- getInitialLight() - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Return the initial light.
- getInput(Class<S>, InputPortEnum) - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Get the input type declared by clazz for this port.
- getInput(Class<S>, InputPortEnum) - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Get the input type declared by clazz for this port.
- getInputStream() - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortImpl
- getInputStream() - Method in interface org.dajlab.jcontrollab.core.serial.SerialPortInterface
-
- getLabControllers() - Method in class org.dajlab.jcontrollab.gui.JControlLabController
-
- getLabel() - Method in enum org.dajlab.jcontrollab.core.OutputPortEnum
-
- getLabel() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property label.
- getLight() - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Get the light.
- getListeningEvents() - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortEventListenerImpl
- getLocalization() - Method in class org.dajlab.jcontrollab.gui.JControlLabController
- getModel() - Method in class org.dajlab.jcontrollab.gui.JControlLabController
- getModel() - Method in class org.dajlab.jcontrollab.gui.view.CommandControlLabEvent
-
- getNewSerialPort(String) - Static method in class org.dajlab.jcontrollab.core.serial.SerialPortFactory
-
Create an instance of SerialPortInterface implementation.
- getNewSerialPortListener(ControlLabInterface) - Static method in class org.dajlab.jcontrollab.core.serial.SerialPortFactory
-
Create an instance of SerialPortListener implementation.
- getNewValue() - Method in class org.dajlab.jcontrollab.core.SensorEvent
-
- getNumber() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Gets the value of the property number.
- getOldValue() - Method in class org.dajlab.jcontrollab.core.SensorEvent
-
- getOuput(OutputPortEnum) - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Get the ouput for this port.
- getOuput(OutputPortEnum) - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Get the ouput for this port.
- getOutputModelsMap() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
- getOutputStream() - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortImpl
- getOutputStream() - Method in interface org.dajlab.jcontrollab.core.serial.SerialPortInterface
-
- getPacketSize() - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortEventListenerImpl
- getPort() - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Returns the port.
- getPort() - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Returns the port.
- getPort() - Method in class org.dajlab.jcontrollab.core.Input
-
- getPort() - Method in enum org.dajlab.jcontrollab.core.InputPortEnum
-
- getPort() - Method in class org.dajlab.jcontrollab.core.Output
-
- getPort() - Method in enum org.dajlab.jcontrollab.core.OutputPortEnum
-
- getPort() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Gets the value of the property port.
- getPort() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property port.
- getPower() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property power.
- getSensibilityIn() - Method in class org.dajlab.jcontrollab.core.TouchSensor
-
- getSensibilityOut() - Method in class org.dajlab.jcontrollab.core.TouchSensor
-
- getSensorListeners() - Method in class org.dajlab.jcontrollab.core.Input
-
- getSensorType() - Method in class org.dajlab.jcontrollab.core.Input
-
Return the type of sensor.
- getSensorType() - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Return the type of sensor.
- getSensorType() - Method in class org.dajlab.jcontrollab.core.RotationSensor
-
Return the type of sensor.
- getSensorType() - Method in class org.dajlab.jcontrollab.core.SensorEvent
-
- getSensorType() - Method in class org.dajlab.jcontrollab.core.TemperatureSensor
-
Return the type of sensor.
- getSensorType() - Method in class org.dajlab.jcontrollab.core.TouchSensor
-
Return the type of sensor.
- getSensorValues() - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Get the sensors' values array.
- getSensorValues() - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Get the sensors' values array.
- getSource() - Method in class org.dajlab.jcontrollab.core.SensorEvent
-
- getStartOff() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property startOff.
- getStartOn() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property startOn.
- getStatus() - Method in class org.dajlab.jcontrollab.core.Input
-
- getStopOff() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property stopOff.
- getStopOn() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Gets the value of the property stopOn.
- getTabs() - Method in class org.dajlab.jcontrollab.gui.JControlLabController
- getTitle() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Gets the value of the property title.
- getTolerance() - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Return the tolerance.
- getValue() - Method in class org.dajlab.jcontrollab.core.Input
-
- onLaunch() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
- onOffProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
On / off.
- onStop() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
- org.dajlab.jcontrollab.core - package org.dajlab.jcontrollab.core
-
- org.dajlab.jcontrollab.core.exception - package org.dajlab.jcontrollab.core.exception
-
- org.dajlab.jcontrollab.core.serial - package org.dajlab.jcontrollab.core.serial
-
- org.dajlab.jcontrollab.core.serial.jserialcomm - package org.dajlab.jcontrollab.core.serial.jserialcomm
-
- org.dajlab.jcontrollab.core.serial.rxtx - package org.dajlab.jcontrollab.core.serial.rxtx
-
- org.dajlab.jcontrollab.gui - package org.dajlab.jcontrollab.gui
-
- org.dajlab.jcontrollab.gui.model - package org.dajlab.jcontrollab.gui.model
-
- org.dajlab.jcontrollab.gui.view - package org.dajlab.jcontrollab.gui.view
-
- Output - Class in org.dajlab.jcontrollab.core
-
Describe an output.
- Output(ControlLabInterface, OutputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.Output
-
Constructor.
- OUTPUT_MULTIPLE_BACKWARD_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_BACKWARD message.
- OUTPUT_MULTIPLE_FLASHING - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_FLASHING message.
- OUTPUT_MULTIPLE_FORWARD_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_FORWARD message.
- OUTPUT_MULTIPLE_OFF - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_OFF message.
- OUTPUT_MULTIPLE_OFF_BREAK - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_OFF_BREAK message.
- OUTPUT_MULTIPLE_ON - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_ON message.
- OUTPUT_MULTIPLE_ON_TIME - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_ON_TIME message.
- OUTPUT_MULTIPLE_POWER - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_POWER message.
- OUTPUT_MULTIPLE_POWER0 - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_POWER0 message.
- OUTPUT_MULTIPLE_REVERSE_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_MULTIPLE_REVERSE_DIRECTION message.
- OUTPUT_SINGLE_BACKWARD_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_BACKWARD message.
- OUTPUT_SINGLE_FORWARD_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_FORWARD message.
- OUTPUT_SINGLE_OFF - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_OFF message.
- OUTPUT_SINGLE_ON_BACKWARD - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_ON_BACKWARD message.
- OUTPUT_SINGLE_ON_CURRENT_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_ON message.
- OUTPUT_SINGLE_ON_FORWARD - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_ON_FORWARD message.
- OUTPUT_SINGLE_REVERSE_DIRECTION - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
-
OUTPUT_SINGLE_REVERSE_DIRECTION message.
- OutputInterface - Interface in org.dajlab.jcontrollab.core
-
Output interface.
- OutputModel - Class in org.dajlab.jcontrollab.gui.model
-
Model for an output.
- OutputModel(OutputPortEnum) - Constructor for class org.dajlab.jcontrollab.gui.model.OutputModel
-
Constructor.
- OutputPane - Class in org.dajlab.jcontrollab.gui.view
-
Output pane.
- OutputPane(OutputModel) - Constructor for class org.dajlab.jcontrollab.gui.view.OutputPane
-
Constructor.
- OutputPortEnum - Enum in org.dajlab.jcontrollab.core
-
Enumeration for output ports.
- OutputsGroup - Class in org.dajlab.jcontrollab.core
-
Represents a group of outputs, as the ControlLab Interface protocol allows
orders on several outputs simultaneously.
- OutputsGroup() - Constructor for class org.dajlab.jcontrollab.core.OutputsGroup
-
Constructor.
- selectDefaultTab(AbstractDajlabTab[]) - Method in class org.dajlab.jcontrollab.gui.JControlLabApplication
- sendMessage(byte[]) - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Send a message.
- sendMessage(byte) - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
-
Send a message.
- sendMessage(byte) - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Send a message.
- sendMessage(byte[]) - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
-
Send a message.
- SensorEvent - Class in org.dajlab.jcontrollab.core
-
Event of a sensor.
- SensorEvent(Input, SensorTypeEnum, int, int) - Constructor for class org.dajlab.jcontrollab.core.SensorEvent
-
Constructor.
- SensorListener - Interface in org.dajlab.jcontrollab.core
-
Sensor listener.
- SensorTypeEnum - Enum in org.dajlab.jcontrollab.core
-
Type of sensors.
- serialEvent(SerialPortEvent) - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortEventListenerImpl
- SerialException - Exception in org.dajlab.jcontrollab.core.exception
-
Serial port exception.
- SerialException() - Constructor for exception org.dajlab.jcontrollab.core.exception.SerialException
-
Constructor.
- SerialException(String) - Constructor for exception org.dajlab.jcontrollab.core.exception.SerialException
-
Constructor.
- SerialPortEventListenerImpl - Class in org.dajlab.jcontrollab.core.serial.jserialcomm
-
Implementation of SerialPortListener using jSerialComm.
- SerialPortEventListenerImpl(ControlLabInterface) - Constructor for class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortEventListenerImpl
-
Constructor.
- SerialPortFactory - Class in org.dajlab.jcontrollab.core.serial
-
Factory for serial port.
- SerialPortFactory() - Constructor for class org.dajlab.jcontrollab.core.serial.SerialPortFactory
-
- SerialPortImpl - Class in org.dajlab.jcontrollab.core.serial.jserialcomm
-
Implementation of SerialPortInterface using jSerialComm.
- SerialPortImpl(String) - Constructor for class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortImpl
-
Constructor.
- SerialPortInterface - Interface in org.dajlab.jcontrollab.core.serial
-
Interface for serial port.
- SerialPortListener - Interface in org.dajlab.jcontrollab.core.serial
-
Interface for serial port listener.
- SerialUtils - Class in org.dajlab.jcontrollab.core.serial.jserialcomm
-
Utility class using jSerialComm.
- SerialUtils() - Constructor for class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialUtils
-
- setAngle(int) - Method in class org.dajlab.jcontrollab.core.RotationSensor
-
Set the initial value.
- setConsoleNumber(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property consoleNumber.
- setControlLab(ControlLabInterface) - Method in class org.dajlab.jcontrollab.core.AbstractPort
-
- setCyclicMode(int, int) - Method in class org.dajlab.jcontrollab.core.Output
-
Set cyle mode.
- setCyclicMode(int, int) - Method in interface org.dajlab.jcontrollab.core.OutputInterface
-
Set cyle mode.
- setCyclicMode(int, int) - Method in class org.dajlab.jcontrollab.core.OutputsGroup
-
Set cyle mode.
- setInitialLight(int) - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Set the initial light.
- setLabel(String) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property label.
- setNumber(int) - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Sets the value of the property number.
- setOnOff(boolean) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property onOff.
- setOutputModelsMap(Map<OutputPortEnum, OutputModel>) - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
- setPort(String) - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Sets the value of the property port.
- setPort(OutputPortEnum) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property port.
- setPower(int) - Method in class org.dajlab.jcontrollab.core.Output
-
Set the power.
- setPower(int) - Method in interface org.dajlab.jcontrollab.core.OutputInterface
-
Set the power.
- setPower(int) - Method in class org.dajlab.jcontrollab.core.OutputsGroup
-
Set the power.
- setPower(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property power.
- setPower(int) - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
-
Set power.
- setReverse(boolean) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property reverse.
- setSensibilityIn(int) - Method in class org.dajlab.jcontrollab.core.TouchSensor
-
- setSensibilityOut(int) - Method in class org.dajlab.jcontrollab.core.TouchSensor
-
- setStartOff(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property startOff.
- setStartOn(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property startOn.
- setStatus(int) - Method in class org.dajlab.jcontrollab.core.Input
-
Set the status of the sensor.
- setStopOff(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property stopOff.
- setStopOn(int) - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Sets the value of the property stopOn.
- setTitle(String) - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
-
Sets the value of the property title.
- setTolerance(int) - Method in class org.dajlab.jcontrollab.core.LightSensor
-
Set the tolerance.
- setValue(short) - Method in class org.dajlab.jcontrollab.core.Input
-
Set the value of the sensor.
- SimpleRandomModule - Class in org.dajlab.jcontrollab.gui
-
Module for random time.
- SimpleRandomModule(ControlLabInterface, OutputModel) - Constructor for class org.dajlab.jcontrollab.gui.SimpleRandomModule
-
Constructor.
- startCycle() - Method in class org.dajlab.jcontrollab.core.Output
-
Start cycle mode.
- startCycle() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
-
Start cycle mode.
- startCycle() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
-
Start cycle mode.
- startMotor() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
-
Restart a new tread.
- startOffProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Start off.
- startOnProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Start on.
- stop() - Method in class org.dajlab.jcontrollab.core.Output
-
Power off the output.
- stop() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
-
Power off the output.
- stop() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
-
Power off the output.
- stopOffProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Stop off.
- stopOnProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
-
Stop on.
- SWITCH - Static variable in class org.dajlab.jcontrollab.core.TouchSensor
-
Default value.
- valueChanged(SensorEvent) - Method in interface org.dajlab.jcontrollab.core.SensorListener
-
Called when the raw value of the sensor changes.
- valueOf(String) - Static method in enum org.dajlab.jcontrollab.core.InputPortEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dajlab.jcontrollab.core.OutputPortEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dajlab.jcontrollab.core.RotationDirectionEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dajlab.jcontrollab.core.SensorTypeEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dajlab.jcontrollab.gui.model.ControlLabCommandEnum
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.dajlab.jcontrollab.core.InputPortEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dajlab.jcontrollab.core.OutputPortEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dajlab.jcontrollab.core.RotationDirectionEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dajlab.jcontrollab.core.SensorTypeEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dajlab.jcontrollab.gui.model.ControlLabCommandEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.