MCPcopy Create free account
hub / github.com/HumbleUI/JWM / EventMouseButton

Method EventMouseButton

shared/java/EventMouseButton.java:14–20  ·  view source on GitHub ↗
(int button, boolean isPressed, int x, int y, int modifiers)

Source from the content-addressed store, hash-verified

12 @ApiStatus.Internal public final int _modifiers;
13
14 public EventMouseButton(int button, boolean isPressed, int x, int y, int modifiers) {
15 _button = MouseButton.makeFromInt(button);
16 _isPressed = isPressed;
17 _x = x;
18 _y = y;
19 _modifiers = modifiers;
20 }
21
22 public boolean isModifierDown(KeyModifier modifier) {
23 return (_modifiers & modifier._mask) != 0;

Callers

nothing calls this directly

Calls 1

makeFromIntMethod · 0.95

Tested by

no test coverage detected