"

2013 FRC Java API

"

edu.wpi.first.wpilibj.buttons
Class AnalogIOButton

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

public class AnalogIOButton
extends Trigger

Author:
Greg

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Trigger
Trigger.ButtonScheduler
 
Field Summary
static double THRESHOLD
           
 
Constructor Summary
AnalogIOButton(int port)
           
 
Method Summary
 boolean get()
          Returns whether or not the trigger is active This method will be called repeatedly a command is linked to the Trigger.
 
Methods inherited from class edu.wpi.first.wpilibj.buttons.Trigger
cancelWhenActive, getSmartDashboardType, getTable, initTable, toggleWhenActive, whenActive, whenInactive, whileActive
 
Methods inherited from class java.lang.Object
equals, 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: Trigger
Returns whether or not the trigger is active This method will be called repeatedly a command is linked to the Trigger.

Specified by:
get in class Trigger
Returns:
whether or not the trigger condition is active.

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"