public abstract class MsButtonEvent extends MsEvent
Modifier and Type | Field and Description |
---|---|
static int |
LEFT_BUTTON |
static int |
MIDDLE_BUTTON |
static int |
RIGHT_BUTTON |
Constructor and Description |
---|
MsButtonEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
int button,
int numClicks,
boolean isPopupTrigger) |
Modifier and Type | Method and Description |
---|---|
int |
getButton() |
int |
getNumClicks() |
boolean |
isPopupTrigger() |
String |
toString() |
getModifiers, getX, getY
getDisplay
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setContext
public static final int LEFT_BUTTON
public static final int MIDDLE_BUTTON
public static final int RIGHT_BUTTON
public MsButtonEvent(Display<?> display, InputModifiers modifiers, int x, int y, int button, int numClicks, boolean isPopupTrigger)
public int getButton()
public int getNumClicks()
public boolean isPopupTrigger()
public String toString()
toString
in class InputEvent
Copyright © 2015–2022 SciJava. All rights reserved.