Trigger |
Trigger.and(Trigger trigger) |
Composes this trigger with another trigger, returning a new trigger that is active when both
triggers are active.
|
Trigger |
Trigger.cancelWhenActive(Command command) |
Cancels a command when the trigger becomes active.
|
Trigger |
Trigger.negate() |
Creates a new trigger that is active when this trigger is inactive, i.e.
|
Trigger |
Trigger.or(Trigger trigger) |
Composes this trigger with another trigger, returning a new trigger that is active when either
trigger is active.
|
Trigger |
Trigger.toggleWhenActive(Command command) |
Toggles a command when the trigger becomes active.
|
Trigger |
Trigger.toggleWhenActive(Command command,
boolean interruptible) |
Toggles a command when the trigger becomes active.
|
Trigger |
Trigger.whenActive(Command command) |
Starts the given command whenever the trigger just becomes active.
|
Trigger |
Trigger.whenActive(Command command,
boolean interruptible) |
Starts the given command whenever the trigger just becomes active.
|
Trigger |
Trigger.whenActive(java.lang.Runnable toRun) |
Runs the given runnable whenever the trigger just becomes active.
|
Trigger |
Trigger.whenInactive(Command command) |
Starts the command when the trigger becomes inactive.
|
Trigger |
Trigger.whenInactive(Command command,
boolean interruptible) |
Starts the command when the trigger becomes inactive.
|
Trigger |
Trigger.whenInactive(java.lang.Runnable toRun) |
Runs the given runnable when the trigger becomes inactive.
|
Trigger |
Trigger.whileActiveContinuous(Command command) |
Constantly starts the given command while the button is held.
|
Trigger |
Trigger.whileActiveContinuous(Command command,
boolean interruptible) |
Constantly starts the given command while the button is held.
|
Trigger |
Trigger.whileActiveContinuous(java.lang.Runnable toRun) |
Constantly runs the given runnable while the button is held.
|
Trigger |
Trigger.whileActiveOnce(Command command) |
Starts the given command when the trigger initially becomes active, and ends it when it becomes
inactive, but does not re-start it in-between.
|
Trigger |
Trigger.whileActiveOnce(Command command,
boolean interruptible) |
Starts the given command when the trigger initially becomes active, and ends it when it becomes
inactive, but does not re-start it in-between.
|