edu.wpi.first.wpilibj.buttons
Class NetworkButton

java.lang.Object
  extended by edu.wpi.first.wpilibj.buttons.Button
      extended by edu.wpi.first.wpilibj.buttons.NetworkButton
All Implemented Interfaces:
SmartDashboardData

public class NetworkButton
extends Button

Author:
Joe

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Button
Button.ButtonScheduler
 
Constructor Summary
NetworkButton(NetworkTable table, java.lang.String field)
           
NetworkButton(java.lang.String table, java.lang.String field)
           
 
Method Summary
 boolean get()
          Returns whether or not the button is pressed.
 
Methods inherited from class edu.wpi.first.wpilibj.buttons.Button
getTable, getType, whenPressed, whenReleased, whileHeld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkButton

public NetworkButton(java.lang.String table,
                     java.lang.String field)

NetworkButton

public NetworkButton(NetworkTable table,
                     java.lang.String field)
Method Detail

get

public boolean get()
Description copied from class: Button
Returns whether or not the button is pressed. This method will be called repeatedly a command is linked to the Button.

Specified by:
get in class Button
Returns:
whether or not the button is pressed.