-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.jfx.events.generic.TriggerAction,it.unibo.alchemist.boundary.jfx.events.mouse.MouseTriggerAction
public final class MouseButtonTriggerAction implements MouseTriggerAction
A MouseTriggerAction related to mouse button presses.
-
-
Field Summary
Fields Modifier and Type Field Description private final ActionOnMousetypeprivate final MouseButtonbutton
-
Constructor Summary
Constructors Constructor Description MouseButtonTriggerAction(ActionOnMouse type, MouseButton button)
-
Method Summary
Modifier and Type Method Description final ActionOnMousegetType()final MouseButtongetButton()-
-
Constructor Detail
-
MouseButtonTriggerAction
MouseButtonTriggerAction(ActionOnMouse type, MouseButton button)
- Parameters:
type- the type of the action performed with the mousebutton- the button related to the action performed
-
-
Method Detail
-
getType
final ActionOnMouse getType()
-
getButton
final MouseButton getButton()
-
-
-
-