"

2013 FRC Java API

"

edu.wpi.first.wpilibj.buttons
Class DigitalIOButton

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

public class DigitalIOButton
extends Button

Author:
Greg

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.buttons.Trigger
Trigger.ButtonScheduler
 
Field Summary
static boolean ACTIVE_STATE
           
 
Constructor Summary
DigitalIOButton(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.Button
whenPressed, whenReleased, whileHeld
 
Methods inherited from class edu.wpi.first.wpilibj.buttons.Trigger
getSmartDashboardType, getTable, initTable, whenActive, whenInactive, whileActive
 
Methods inherited from class java.lang.Object
equals, 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: 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
"