Skip navigation links
A B C D E F G H I J K L M N O P R S T U V 

A

AbstractPort - Class in org.dajlab.jcontrollab.core
Describe a generic port.
AbstractPort() - Constructor for class org.dajlab.jcontrollab.core.AbstractPort
 
addCommandListeners(CommandListener) - Method in class org.dajlab.jcontrollab.gui.view.OutputPane
Add command listener.
addEventListener(SerialPortListener) - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortImpl
Add a listener on the serial port.
addEventListener(SerialPortListener) - Method in interface org.dajlab.jcontrollab.core.serial.SerialPortInterface
Add a listener on the serial port.
addOutput(Output) - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Add an output to the group.
addSensorListener(SensorListener) - Method in class org.dajlab.jcontrollab.core.Input
Add a listener.

B

backward() - Method in class org.dajlab.jcontrollab.core.Output
Backward but not start the output.
backward() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Backward but not start the output.
backward() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Backward but not start the output.
backwardAndRun() - Method in class org.dajlab.jcontrollab.core.Output
Backward and start the output.
backwardAndRun() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Backward and start the output.
backwardAndRun() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Backward and start the output.
byteToHex(byte[]) - Static method in class org.dajlab.jcontrollab.core.ControlLabImpl
Format a byte array to a String for debug purpose.

C

CLIProtocol - Class in org.dajlab.jcontrollab.core
Communication protocol with the Dacta interface.
CLIProtocol() - Constructor for class org.dajlab.jcontrollab.core.CLIProtocol
 
CLOSE - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
CLOSE message.
close() - Method in class org.dajlab.jcontrollab.core.serial.jserialcomm.SerialPortImpl
Close the connection.
close() - Method in interface org.dajlab.jcontrollab.core.serial.SerialPortInterface
Close the connection.
codeThread() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
CommandControlLabEvent - Class in org.dajlab.jcontrollab.gui.view
Event for a Control Lab command.
CommandControlLabEvent(OutputModel, ControlLabCommandEnum) - Constructor for class org.dajlab.jcontrollab.gui.view.CommandControlLabEvent
Constructor.
connect() - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
Connect to the serial port and start the keepalive thread.
connect() - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
Connect to the serial port and start the keepalive thread.
connect() - Method in class org.dajlab.jcontrollab.core.ControlLabManager
Connect the control lab interfaces.
connect() - Method in class org.dajlab.jcontrollab.gui.JControlLabController
ConsoleModel - Class in org.dajlab.jcontrollab.gui.model
Model for a control lab.
ConsoleModel(int, String, String) - Constructor for class org.dajlab.jcontrollab.gui.model.ConsoleModel
Constructor.
consoleNumberProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Control lab number.
ControlLabCommandEnum - Enum in org.dajlab.jcontrollab.gui.model
Enumeration for the different commands.
ControlLabImpl - Class in org.dajlab.jcontrollab.core
Control Lab implementation.
ControlLabImpl(String) - Constructor for class org.dajlab.jcontrollab.core.ControlLabImpl
Constructor.
ControlLabInterface - Interface in org.dajlab.jcontrollab.core
Interface of ControlLab.
ControlLabManager - Class in org.dajlab.jcontrollab.core
Control lab interfaces manager.
ControlLabManager() - Constructor for class org.dajlab.jcontrollab.core.ControlLabManager
Constructor.
ControlLabTab - Class in org.dajlab.jcontrollab.gui.view
Control lab tab.
ControlLabTab(ConsoleModel, CommandListener) - Constructor for class org.dajlab.jcontrollab.gui.view.ControlLabTab
Constructor.
CYCLE_TIME_OFF - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
CYCLE_TIME_OFF message.
CYCLE_TIME_ON - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
CYCLE_TIME_ON message.

D

DELAY - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
DELAY to wait between HELLO messages.
disconnect() - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
Send the message for closing the communication and close the serial port.
disconnect() - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
Send the message for closing the communication and close the serial port.
disconnect() - Method in class org.dajlab.jcontrollab.core.ControlLabManager
Disconnect the control lab interfaces.
disconnect() - Method in class org.dajlab.jcontrollab.core.HelloThread
Disconnect.
disconnect() - Method in class org.dajlab.jcontrollab.gui.JControlLabController

E

encodeCycle(char, int, int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a cycle message.
encodeCycle(char[], int, int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a cycle message for multiple outputs.
encodeMode(char, int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a simple message.
encodeMode(char[], int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a message for multiple outputs.
encodeModeDuration(char, int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a message of type ON with a duration.
encodeModeDuration(char[], int) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a message of type ON with a duration.
encodeModePower(char, short) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a simple message with power.
encodeModePower(char[], short) - Static method in class org.dajlab.jcontrollab.core.CLIProtocol
Encode a message for multiple outputs with power.

F

forward() - Method in class org.dajlab.jcontrollab.core.Output
Forward but not start the output.
forward() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Forward but not start the output.
forward() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Forward but not start the output.
forwardAndRun() - Method in class org.dajlab.jcontrollab.core.Output
Forward and start the output.
forwardAndRun() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Forward and start the output.
forwardAndRun() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Forward and start the output.
fromValue(int) - Static method in enum org.dajlab.jcontrollab.core.InputPortEnum
Convert the port value to the enum.
fromValue(String) - Static method in enum org.dajlab.jcontrollab.core.OutputPortEnum
Convert the value to the enum.
fromValue(int) - Static method in enum org.dajlab.jcontrollab.core.RotationDirectionEnum
Get enum from value.

G

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
 

H

hasLessLight() - Method in class org.dajlab.jcontrollab.core.LightSensor
 
hasLessLight(int) - Method in class org.dajlab.jcontrollab.core.LightSensor
 
hasMoreLight() - Method in class org.dajlab.jcontrollab.core.LightSensor
 
hasMoreLight(int) - Method in class org.dajlab.jcontrollab.core.LightSensor
 
HELLO - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
HELLO message.
HelloThread - Class in org.dajlab.jcontrollab.core
Keep alive thread.
HelloThread(OutputStream) - Constructor for class org.dajlab.jcontrollab.core.HelloThread
Construct a new hello thread.

I

Input - Class in org.dajlab.jcontrollab.core
Describe an input.
Input(ControlLabInterface, InputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.Input
Constructor.
InputInterface - Interface in org.dajlab.jcontrollab.core
Input interface.
InputPortEnum - Enum in org.dajlab.jcontrollab.core
Enumeration for input ports.
isOnOff() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Gets the value of the property onOff.
isPressed() - Method in class org.dajlab.jcontrollab.core.TouchSensor
 
isReleased() - Method in class org.dajlab.jcontrollab.core.TouchSensor
 
isReverse() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Gets the value of the property reverse.

J

JControlLabApplication - Class in org.dajlab.jcontrollab.gui
JControlLab Application.
JControlLabApplication() - Constructor for class org.dajlab.jcontrollab.gui.JControlLabApplication
Constructor.
JControlLabController - Class in org.dajlab.jcontrollab.gui
JControlLab controller for JControlLab application.
JControlLabController() - Constructor for class org.dajlab.jcontrollab.gui.JControlLabController
 
JControlLabModel - Class in org.dajlab.jcontrollab.gui.model
Global model for JControlLab.
JControlLabModel() - Constructor for class org.dajlab.jcontrollab.gui.model.JControlLabModel
Constructor.

K

KNOCK_KNCOK - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
KNOCK_KNCOK message.

L

labelProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Label.
LightSensor - Class in org.dajlab.jcontrollab.core
Light sensor element.
LightSensor(ControlLabInterface, InputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.LightSensor
Constructor.

M

main(String[]) - Static method in class org.dajlab.jcontrollab.gui.JControlLabApplication
Main method.

N

newCommand(CommandEvent) - Method in class org.dajlab.jcontrollab.gui.JControlLabController
NOP - Static variable in class org.dajlab.jcontrollab.core.CLIProtocol
NOP message.
numberProperty() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
Control lab number.

O

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.

P

portProperty() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
Serial Port.
portProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Output port.
powerProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Power.

R

readData() - Method in class org.dajlab.jcontrollab.core.ControlLabImpl
Read the data when available.
readData() - Method in interface org.dajlab.jcontrollab.core.ControlLabInterface
Read the data when available.
removeSensorListener(SensorListener) - Method in class org.dajlab.jcontrollab.core.Input
Remove a listener.
reset() - Method in class org.dajlab.jcontrollab.core.LightSensor
Reset the initial light.
reset() - Method in class org.dajlab.jcontrollab.core.RotationSensor
Set the initial value to 0.
reverse() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
Reverse the ouput.
reverseDirection() - Method in class org.dajlab.jcontrollab.core.Output
Reverse direction of the output.
reverseDirection() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Reverse direction of the output.
reverseDirection() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Reverse direction of the output.
reverseProperty() - Method in class org.dajlab.jcontrollab.gui.model.OutputModel
Reverse.
RotationDirectionEnum - Enum in org.dajlab.jcontrollab.core
Direction of rotation, for Rotation Sensor.
RotationSensor - Class in org.dajlab.jcontrollab.core
Rotation sensor element.
RotationSensor(ControlLabInterface, InputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.RotationSensor
Constructor.
run() - Method in class org.dajlab.jcontrollab.core.HelloThread
run() - Method in class org.dajlab.jcontrollab.core.Output
Power on the output.
run() - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Power on the output.
run() - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Power on the output.
runFor(int) - Method in class org.dajlab.jcontrollab.core.Output
Power on the output for the given time.
runFor(int) - Method in interface org.dajlab.jcontrollab.core.OutputInterface
Power on the output for the given time.
runFor(int) - Method in class org.dajlab.jcontrollab.core.OutputsGroup
Power on the output for the given time.

S

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.

T

TemperatureSensor - Class in org.dajlab.jcontrollab.core
Temperature sensor element.
TemperatureSensor(ControlLabInterface, InputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.TemperatureSensor
Constructor.
TitlePane - Class in org.dajlab.jcontrollab.gui.view
Title pane.
TitlePane() - Constructor for class org.dajlab.jcontrollab.gui.view.TitlePane
Constructor.
titleProperty() - Method in class org.dajlab.jcontrollab.gui.model.ConsoleModel
Tab title.
TouchSensor - Class in org.dajlab.jcontrollab.core
Touch sensor element.
TouchSensor(ControlLabInterface, InputPortEnum) - Constructor for class org.dajlab.jcontrollab.core.TouchSensor
Constructor.

U

updateModel(JControlLabModel) - Method in class org.dajlab.jcontrollab.gui.JControlLabController
updateRange() - Method in class org.dajlab.jcontrollab.gui.SimpleRandomModule
Update range.
updateTitle(String) - Method in class org.dajlab.jcontrollab.gui.view.ControlLabTab

V

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.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links

Copyright © 2018. All rights reserved.