javafx.embed.swing.JFXPanel.HostContainer hostContainer
com.sun.javafx.stage.EmbeddedWindow stage
Scene scene
javafx.embed.swing.SwingDnD dnd
com.sun.javafx.embed.EmbeddedStageInterface stagePeer
com.sun.javafx.embed.EmbeddedSceneInterface scenePeer
int pWidth
int pHeight
int scaleFactor
int pPreferredWidth
int pPreferredHeight
int screenX
int screenY
BufferedImage pixelsIm
float opacity
AtomicInteger disableCount
boolean isCapturingMouse
AWTEventListener ungrabListener
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private Object writeReplace() throws ObjectStreamException
ObjectStreamException
boolean selectionChanged
Object newValue
int editIndex
Object scrollTarget
Object newValue
Object newValue
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
boolean keyboardTrigger
double screenX
double screenY
double sceneX
Scene
that contains the ContextMenuEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the ContextMenuEvent's node.double sceneY
Scene
that contains the ContextMenuEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the ContextMenuEvent's node.PickResult pickResult
Node
is a
Shape3D
node and its pickOnBounds is false.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
double screenX
double screenY
double sceneX
Scene
that contains the DragEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the DragEvent's node.double sceneY
Scene
that contains the DragEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the DragEvent's node.PickResult pickResult
Node
is a
Shape3D
node and its pickOnBounds is false.Object gestureSource
Object gestureTarget
TransferMode transferMode
javafx.scene.input.DragEvent.State state
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
double screenX
double screenY
double sceneX
double sceneY
boolean shiftDown
boolean controlDown
boolean altDown
boolean metaDown
boolean direct
boolean inertia
PickResult pickResult
Node
is a
Shape3D
node and its pickOnBounds is false.private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
String committed
int caretPosition
String text
InputMethodHighlight highlight
String character
character
will have the value "A" for a key typed
event generated by pressing SHIFT + 'a'.
For key pressed and key released events, character
is always
CHAR_UNDEFINED
.String text
text
is always the empty string.KeyCode code
code
is always KeyCode.UNDEFINED
.boolean shiftDown
boolean controlDown
boolean altDown
boolean metaDown
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
javafx.scene.input.MouseEvent.Flags flags
double screenX
double screenY
double sceneX
Scene
that contains the MouseEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the MouseEvent's node.double sceneY
Scene
that contains the MouseEvent's node.
If the node is not in a Scene
, then the value is relative to
the boundsInParent of the root-most parent of the MouseEvent's node.MouseButton button
int clickCount
boolean stillSincePress
boolean shiftDown
boolean controlDown
boolean altDown
boolean metaDown
boolean synthesized
boolean popupTrigger
Note: Popup menus are triggered differently
on different systems. Therefore, popupTrigger
should be checked in both onMousePressed
and mouseReleased
for proper cross-platform functionality.
boolean primaryButtonDown
true
if primary button (button 1, usually the left) is currently
pressed. Note that this is different from the button
variable in that the button
variable indicates which button press was
responsible for this event while this variable indicates whether the
primary button is depressed.boolean secondaryButtonDown
true
if secondary button (button 3, usually the right) is currently
pressed. Note that this is different from the button
variable in that the button
variable indicates which button press was
responsible for this event while this variable indicates whether the
primary button is depressed.boolean middleButtonDown
true
if middle button (button 2) is currently pressed.
Note that this is different from the button
variable in
that the button
variable indicates which button press was
responsible for this event while this variable indicates whether the
middle button is depressed.PickResult pickResult
Node
is a
Shape3D
node and its pickOnBounds is false.double angle
double totalAngle
double deltaX
double deltaY
double totalDeltaX
double totalDeltaY
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits
double textDeltaX
double textDeltaY
int touchCount
double multiplierX
double multiplierY
int touchCount
int eventSetId
boolean shiftDown
boolean controlDown
boolean altDown
boolean metaDown
TouchPoint touchPoint
List<E> touchPoints
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
EventTarget grabbed
int id
TouchPoint.State state
double screenX
double screenY
double sceneX
double sceneY
PickResult pickResult
Node
is a
Shape3D
node and its pickOnBounds is false.double zoomFactor
double totalZoomFactor
MediaException error
MediaException
which provoked this error event.MediaException.Type type
Object data
double millis
String message
The detail message.
String filename
The URL of the file where the error occurred, if possible.
int lineno
The line number if the file, if possible.
String source
The string containing the JavaScript code being evaluated.
int tokenIndex
The index into the source string where the error occurred.
int wrappedExceptionType
Type of the wrapped JavaScript exception.
Object wrappedException
JavaScript exception wrapper.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.