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
AButton
that uses aNetworkTable
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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Constructor Detail
-
NetworkButton
public NetworkButton(String table, String field)
-
NetworkButton
public NetworkButton(NetworkTable table, String field)
-
-