Package edu.wpi.first.wpilibj.buttons
Class NetworkButton
java.lang.Object
edu.wpi.first.wpilibj.buttons.Trigger
edu.wpi.first.wpilibj.buttons.Button
edu.wpi.first.wpilibj.buttons.NetworkButton
- All Implemented Interfaces:
Sendable
public class NetworkButton extends Button
A
Button
that uses a NetworkTable
boolean field.-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Trigger
Trigger.ButtonScheduler
-
Constructor Summary
Constructors Constructor Description NetworkButton(NetworkTable table, String field)
NetworkButton(String table, String field)
-
Method Summary
Modifier and Type Method Description boolean
get()
Returns whether or not the trigger is active.Methods inherited from class edu.wpi.first.wpilibj.buttons.Button
cancelWhenPressed, toggleWhenPressed, whenPressed, whenReleased, whileHeld
Methods inherited from class edu.wpi.first.wpilibj.buttons.Trigger
cancelWhenActive, initSendable, toggleWhenActive, whenActive, whenInactive, whileActive