file: Trigger.aus

class: Trigger

[18:7] extends: FxObj

Wraps FXGL's Trigger interface (com.almasb.fxgl.input.Trigger), the abstract supertype of KeyTrigger and MouseTrigger. Carries the modifier (NONE / CTRL / SHIFT / ALT), a display name, and pressed / released match queries against a JavaFX InputEvent. Adopt-only — Trigger has no public constructor; obtain one from Input.getAllBindings, a KeyTrigger / MouseTrigger ctor, or an ObservableTrigger.

Methods