edu.wpi.first.wpilibj.buttons
Class DigitalIOButton

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

public class DigitalIOButton
extends Button

Author:
Greg

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Button
Button.ButtonScheduler
 
Field Summary
static boolean ACTIVE_STATE
           
 
Constructor Summary
DigitalIOButton(int port)
           
 
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
 

Field Detail

ACTIVE_STATE

public static final boolean ACTIVE_STATE
See Also:
Constant Field Values
Constructor Detail

DigitalIOButton

public DigitalIOButton(int port)
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.