Registers a handler for when the given Bindable is pressed. This event won't be fired again until the Bindable was then released.
Your decorated method should return whether or not the bindable was actually activated. (For example, if the mouse was in the right
spot and the action can currently be executed.) If you return true, no other@Bind.onDown handlers will be run. If you return
false, other matching @Bind.onDown handlers will be run.
Registers a handler for when the given Bindable, or "anything" is pressed. This handler will always be executed, even if other handlers also matched the catalyst.
Registers a handler for when the given
Bindable
is pressed. This event won't be fired again until theBindable
was then released.Your decorated method should return whether or not the bindable was actually activated. (For example, if the mouse was in the right spot and the action can currently be executed.) If you return
true
, no other@Bind.onDown
handlers will be run. If you returnfalse
, other matching@Bind.onDown
handlers will be run.