edu.wpi.first.wpilibj.buttons
Class AnalogIOButton

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

public class AnalogIOButton
extends Button

Author:
Greg

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Button
Button.ButtonScheduler
 
Field Summary
static double THRESHOLD
           
 
Constructor Summary
AnalogIOButton(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

THRESHOLD

public static double THRESHOLD
Constructor Detail

AnalogIOButton

public AnalogIOButton(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.