クラス
javafx.scene.input.MouseButtonの使用
-
MouseButtonを使用するパッケージ パッケージ 説明 javafx.scene.input マウスおよびキーボード入力イベント処理のクラスのセットを提供します。 -
-
javafx.scene.inputのMouseButtonの使用
MouseButtonを返すjavafx.scene.inputのメソッド 修飾子と型 メソッド 説明 MouseButton
MouseEvent. getButton()
このイベントの原因となったマウス・ボタン(ある場合)。static MouseButton
MouseButton. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static MouseButton[]
MouseButton. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。MouseButton型のパラメータを持つjavafx.scene.inputのコンストラクタ コンストラクタ 説明 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イベントを構築します。
-