Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
MouseButton |
MouseEvent.getButton()
Which, if any, of the mouse buttons is responsible for this event.
|
static MouseButton |
MouseButton.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MouseButton[] |
MouseButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static MouseEvent |
MouseEvent.impl_mouseEvent(double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
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,
java.lang.Object gestureSource)
Constructs new MouseDragEvent event with null source and target.
|
MouseDragEvent(java.lang.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,
java.lang.Object gestureSource)
Constructs new MouseDragEvent event.
|
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)
Constructs new MouseEvent event with null source and target.
|
MouseEvent(java.lang.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)
Constructs new MouseEvent event.
|
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to