Uses of Class
javafx.scene.input.MouseButton
-
Packages that use MouseButton 软件包 描述 javafx.scene.input 提供一组用于鼠标和键盘输入事件处理的类。 -
-
Uses of MouseButton in javafx.scene.input
Methods in javafx.scene.input that return MouseButton Modifier and Type 方法 描述 MouseButton
MouseEvent. getButton()
哪个,如果有的话,鼠标按钮是负责这个事件。static MouseButton
MouseButton. valueOf(String name)
以指定的名称返回此类型的枚举常量。static MouseButton[]
MouseButton. values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。Constructors in javafx.scene.input with parameters of type MouseButton Constructor 描述 MouseDragEvent(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)
构造新的MouseDragEvent事件。MouseDragEvent(EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)
构造具有null源和目标的新的MouseDragEvent事件。MouseEvent(Object source, EventTarget target, EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)
构造新的MouseEvent事件。MouseEvent(EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)
构造具有null源和目标的新的MouseEvent事件。
-