Index
All Classes and Interfaces|All Packages
A
- addControl(Control) - Method in class io.github.roboblazers7617.buttonbox.ButtonBoxClient
-
Adds a control to the ButtonBoxClient.
- addControl(Control) - Method in class io.github.roboblazers7617.buttonbox.ButtonBoxServer
-
Adds a control to the ButtonBoxServer.
- Address - Interface in io.github.roboblazers7617.buttonbox
B
- Button - Class in io.github.roboblazers7617.buttonbox.controls
- Button(String) - Constructor for class io.github.roboblazers7617.buttonbox.controls.Button
-
Creates a new Button.
- Button.ButtonMode - Enum Class in io.github.roboblazers7617.buttonbox.controls
-
Determines how the state of the button should be updated when the button is pressed or released.
- ButtonBoxClient - Class in io.github.roboblazers7617.buttonbox
-
Class for client-side ButtonBox logic.
- ButtonBoxClient(NetworkTableInstance) - Constructor for class io.github.roboblazers7617.buttonbox.ButtonBoxClient
-
Creates a new ButtonBoxClient.
- ButtonBoxServer - Class in io.github.roboblazers7617.buttonbox
-
Class for robot-side ButtonBox logic.
- ButtonBoxServer() - Constructor for class io.github.roboblazers7617.buttonbox.ButtonBoxServer
-
Creates a new ButtonBoxServer.
C
- Control - Class in io.github.roboblazers7617.buttonbox
-
Class for buttonbox controls that handles feedback and NetworkTables.
- Control(String) - Constructor for class io.github.roboblazers7617.buttonbox.Control
-
Creates a new Control.
G
- getFeedback() - Method in interface io.github.roboblazers7617.buttonbox.Address
-
Gets feedback from the address.
- getId() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Gets the ID of this control.
- getState() - Method in class io.github.roboblazers7617.buttonbox.controls.Button
-
Gets button state
- getTable() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Gets the NetworkTable used by this Control.
- getTrigger() - Method in class io.github.roboblazers7617.buttonbox.controls.Button
-
Get a trigger for the button
- getValue() - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
I
- io.github.roboblazers7617.buttonbox - package io.github.roboblazers7617.buttonbox
- io.github.roboblazers7617.buttonbox.controls - package io.github.roboblazers7617.buttonbox.controls
P
- periodic() - Method in class io.github.roboblazers7617.buttonbox.ButtonBoxClient
-
Should be called regularly to update the state of the Controls.
- periodic() - Method in class io.github.roboblazers7617.buttonbox.ButtonBoxServer
- PhysicalButton - Class in io.github.roboblazers7617.buttonbox.controls
- PhysicalButton(String, Address) - Constructor for class io.github.roboblazers7617.buttonbox.controls.PhysicalButton
-
Creates a new PhysicalButton.
- PhysicalTestControl - Class in io.github.roboblazers7617.buttonbox.controls
- PhysicalTestControl(String, Address) - Constructor for class io.github.roboblazers7617.buttonbox.controls.PhysicalTestControl
-
Creates a new PhysicalTestControl.
- PUSH - Enum constant in enum class io.github.roboblazers7617.buttonbox.controls.Button.ButtonMode
-
Enabled when pressed, disabled when released.
S
- send(double) - Method in interface io.github.roboblazers7617.buttonbox.Address
-
Sends data to the address.
- setMode(Button.ButtonMode) - Method in class io.github.roboblazers7617.buttonbox.controls.Button
-
Sets the button's mode
- setPressed(boolean) - Method in class io.github.roboblazers7617.buttonbox.controls.Button
-
Sets whether the button is pressed or not.
- setTable(NetworkTable) - Method in class io.github.roboblazers7617.buttonbox.Control
-
Sets the NetworkTable to be used by this Control.
- setupNetworkTables(NetworkTable) - Method in class io.github.roboblazers7617.buttonbox.Control
-
Called by the Control class when the NetworkTable is set.
- setupNetworkTables(NetworkTable) - Method in class io.github.roboblazers7617.buttonbox.controls.Button
- setupNetworkTables(NetworkTable) - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
- setupSimulation() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Should set up any simulation-specific things.
- setupSimulation() - Method in class io.github.roboblazers7617.buttonbox.controls.Button
- setupSimulation() - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
T
- TestControl - Class in io.github.roboblazers7617.buttonbox.controls
-
A test
Control
that sends a float that is increased every time server feedback is updated and outputs it to the client TTY. - TestControl(String) - Constructor for class io.github.roboblazers7617.buttonbox.controls.TestControl
-
Creates a new TestControl.
- TOGGLE_FALLING - Enum constant in enum class io.github.roboblazers7617.buttonbox.controls.Button.ButtonMode
-
Toggle button, triggers on the falling edge.
- TOGGLE_RISING - Enum constant in enum class io.github.roboblazers7617.buttonbox.controls.Button.ButtonMode
-
Toggle button, triggers on the rising edge.
U
- updateClient() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Updates the control's state on the client.
- updateClient() - Method in class io.github.roboblazers7617.buttonbox.controls.Button
- updateClient() - Method in class io.github.roboblazers7617.buttonbox.controls.PhysicalButton
- updateClient() - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
- updateHardware() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Interfaces with the buttonbox hardware and updates the state of the physical control.
- updateHardware() - Method in class io.github.roboblazers7617.buttonbox.controls.PhysicalTestControl
- updateHardware() - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
- updateOnClient() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Updates the control's state on the client and hardware.
- updateServer() - Method in class io.github.roboblazers7617.buttonbox.Control
-
Updates the control's state on the server.
- updateServer() - Method in class io.github.roboblazers7617.buttonbox.controls.Button
- updateServer() - Method in class io.github.roboblazers7617.buttonbox.controls.TestControl
V
- valueOf(String) - Static method in enum class io.github.roboblazers7617.buttonbox.controls.Button.ButtonMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.roboblazers7617.buttonbox.controls.Button.ButtonMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages