Spec-Zone.ru › OpenJavaFX 21

Serialized Form

Package javafx.concurrent

Class javafx.concurrent.WorkerStateEvent

class WorkerStateEvent extends Event implements Serializable

Package javafx.embed.swing

Class javafx.embed.swing.JFXPanel

class JFXPanel extends JComponent implements Serializable

Serialized Fields

  • disableCount
    AtomicInteger disableCount
  • isCapturingMouse
    boolean isCapturingMouse
  • jfxPanelIOP
    com.sun.javafx.embed.swing.newimpl.JFXPanelInteropN jfxPanelIOP
  • opacity
    float opacity
  • pHeight
    int pHeight
  • pixelsIm
    BufferedImage pixelsIm
  • pPreferredHeight
    int pPreferredHeight
  • pPreferredWidth
    int pPreferredWidth
  • pWidth
    int pWidth
  • scaleFactorX
    double scaleFactorX
  • scaleFactorY
    double scaleFactorY
  • screenX
    int screenX
  • screenY
    int screenY

Package javafx.event

Class javafx.event.ActionEvent

class ActionEvent extends Event implements Serializable
serialVersionUID:
20121107L

Class javafx.event.Event

class Event extends EventObject implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • consumed
    boolean consumed
    Whether this event has been consumed by any filter or handler.
  • eventType
    EventType<? extends Event> eventType
    Type of the event.

Class javafx.event.EventType

class EventType extends Object implements Serializable

Serialization Methods

  • writeReplace
    private Object writeReplace()

Serialized Fields

  • name
    String name
  • subTypes
    WeakHashMap<EventType<? extends T extends Event>,Void> subTypes
  • superType
    EventType<? super T extends Event> superType

Package javafx.fxml

Exception Class javafx.fxml.LoadException

class LoadException extends IOException implements Serializable
serialVersionUID:
0L

Package javafx.scene.control

Class javafx.scene.control.CheckBoxTreeItem.TreeModificationEvent

class TreeModificationEvent extends Event implements Serializable
serialVersionUID:
-8445355590698862999L

Serialized Fields

  • selectionChanged
    boolean selectionChanged

Class javafx.scene.control.DialogEvent

class DialogEvent extends Event implements Serializable
serialVersionUID:
20140716L

Class javafx.scene.control.ListView.EditEvent

class EditEvent extends Event implements Serializable
serialVersionUID:
20130724L

Serialized Fields

  • editIndex
    int editIndex
  • newValue
    T newValue
  • source
    ListView<T> source

Class javafx.scene.control.ScrollToEvent

class ScrollToEvent extends Event implements Serializable
serialVersionUID:
-8557345736849482516L

Serialized Fields

  • scrollTarget
    T scrollTarget

Class javafx.scene.control.SortEvent

class SortEvent extends Event implements Serializable

Class javafx.scene.control.TableColumn.CellEditEvent

class CellEditEvent extends Event implements Serializable
serialVersionUID:
-609964441682677579L

Serialized Fields

  • newValue
    T newValue

Class javafx.scene.control.TreeItem.TreeModificationEvent

class TreeModificationEvent extends Event implements Serializable
serialVersionUID:
4741889985221719579L

Serialized Fields

  • added
    List<? extends TreeItem<T>> added
  • change
    ListChangeListener.Change<? extends TreeItem<T>> change
  • newValue
    T newValue
  • removed
    List<? extends TreeItem<T>> removed
  • wasCollapsed
    boolean wasCollapsed
  • wasExpanded
    boolean wasExpanded
  • wasPermutated
    boolean wasPermutated

Class javafx.scene.control.TreeTableColumn.CellEditEvent

class CellEditEvent extends Event implements Serializable
serialVersionUID:
-609964441682677579L

Serialized Fields

  • newValue
    T newValue

Class javafx.scene.control.TreeTableView.EditEvent

class EditEvent extends Event implements Serializable
serialVersionUID:
-4437033058917528976L

Serialized Fields

  • newValue
    S newValue
  • oldValue
    S oldValue
  • source
    TreeTableView<S> source

Class javafx.scene.control.TreeView.EditEvent

class EditEvent extends Event implements Serializable
serialVersionUID:
-4437033058917528976L

Serialized Fields

  • newValue
    T newValue
  • oldValue
    T oldValue
  • source
    TreeView<T> source

Package javafx.scene.input

Class javafx.scene.input.ClipboardContent

class ClipboardContent extends HashMap<DataFormat,Object> implements Serializable

Class javafx.scene.input.ContextMenuEvent

class ContextMenuEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • keyboardTrigger
    boolean keyboardTrigger
    The boolean that indicates the event was triggered by a keyboard gesture.
  • pickResult
    PickResult pickResult
    Information about the pick if the picked Node is a Shape3D node and its pickOnBounds is false.
  • sceneX
    double sceneX
    Horizontal x position of the event relative to the origin of the 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.
  • sceneY
    double sceneY
    Vertical y position of the event relative to the origin of the 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.
  • screenX
    double screenX
    Absolute horizontal x position of the event.
  • screenY
    double screenY
    Absolute vertical y position of the event.

Class javafx.scene.input.DragEvent

class DragEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • gestureSource
    Object gestureSource
  • gestureTarget
    Object gestureTarget
  • pickResult
    PickResult pickResult
    Information about the pick if the picked Node is a Shape3D node and its pickOnBounds is false.
  • sceneX
    double sceneX
    Horizontal x position of the event relative to the origin of the 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.
  • sceneY
    double sceneY
    Vertical y position of the event relative to the origin of the 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.
  • screenX
    double screenX
    Absolute horizontal x position of the event.
  • screenY
    double screenY
    Absolute vertical y position of the event.
  • state
    javafx.scene.input.DragEvent.State state
  • transferMode
    TransferMode transferMode

Class javafx.scene.input.GestureEvent

class GestureEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • altDown
    boolean altDown
  • controlDown
    boolean controlDown
  • direct
    boolean direct
  • inertia
    boolean inertia
  • metaDown
    boolean metaDown
  • pickResult
    PickResult pickResult
    Information about the pick if the picked Node is a Shape3D node and its pickOnBounds is false.
  • sceneX
    double sceneX
  • sceneY
    double sceneY
  • screenX
    double screenX
  • screenY
    double screenY
  • shiftDown
    boolean shiftDown

Class javafx.scene.input.InputEvent

class InputEvent extends Event implements Serializable
serialVersionUID:
20121107L

Class javafx.scene.input.InputMethodEvent

class InputMethodEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException
  • writeObject
    private void writeObject(ObjectOutputStream oos) throws IOException
    Throws:
    IOException

Serialized Fields

  • caretPosition
    int caretPosition
    The input method caret position within the composed text. If the position is -1, the caret should be invisible.
    Default value:
    0
  • committed
    String committed
    The text that is committed by the input method as the result of the composition.
    Default value:
    empty string

Class javafx.scene.input.InputMethodTextRun

class InputMethodTextRun extends Object implements Serializable

Serialized Fields

  • highlight
    InputMethodHighlight highlight
    The highlight used for displaying this text.
    Default value:
    null
  • text
    String text
    The text in this run.
    Default value:
    empty string

Class javafx.scene.input.KeyEvent

class KeyEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • altDown
    boolean altDown
    Returns whether or not the Alt modifier is down on this event.
  • character
    String character
    The Unicode character or sequence of characters associated with the key typed event. Contains multiple elements if the key produced a single Unicode character from outside of the Basic Multilingual Plane which needs to be encoded by the corresponding surrogate pair in Java or if the key produced multiple Unicode characters itself.

    For example, 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.

  • code
    KeyCode code
    The integer key code associated with the key in this key pressed or key released event. For key typed events, code is always KeyCode.UNDEFINED.
  • controlDown
    boolean controlDown
    Returns whether or not the Control modifier is down on this event.
  • metaDown
    boolean metaDown
    Returns whether or not the Meta modifier is down on this event.
  • shiftDown
    boolean shiftDown
    Returns whether or not the Shift modifier is down on this event.
  • text
    String text
    A String describing the key code, such as "HOME", "F1" or "A", for key pressed and key released events. For key typed events, text is always the empty string.

Class javafx.scene.input.MouseDragEvent

class MouseDragEvent extends MouseEvent implements Serializable
serialVersionUID:
20121107L

Class javafx.scene.input.MouseEvent

class MouseEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • altDown
    boolean altDown
    Whether or not the Alt modifier is down on this event.
  • backButtonDown
    boolean backButtonDown
    true if back button (button 4) 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 back button is depressed.
  • button
    MouseButton button
    Which, if any, of the mouse buttons is responsible for this event.
  • clickCount
    int clickCount
    Number of mouse clicks associated with this event. All MOUSE_MOVED events have the clickCount value equal to 0. The value is increased with MOUSE_PRESSED event and stays like that for all subsequent events till MOUSE_RELEASED, including the afterwards generated MOUSE_CLICKED event. The value is increased to numbers higher than one if all the events between two subsequent presses happen on a small region and in a small time (according to native operating system configuration).
  • controlDown
    boolean controlDown
    Whether or not the Control modifier is down on this event.
  • flags
    javafx.scene.input.MouseEvent.Flags flags
  • forwardButtonDown
    boolean forwardButtonDown
    true if forward button (button 5) 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 forward button is depressed.
  • metaDown
    boolean metaDown
    Whether or not the Meta modifier is down on this event.
  • middleButtonDown
    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 pickResult
    Information about the pick if the picked Node is a Shape3D node and its pickOnBounds is false.
  • popupTrigger
    boolean popupTrigger
    Whether or not this mouse event is the popup menu trigger event for the platform.

    Note: Popup menus are triggered differently on different systems. Therefore, popupTrigger should be checked in both onMousePressed and mouseReleased for proper cross-platform functionality.

  • primaryButtonDown
    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.
  • sceneX
    double sceneX
    Horizontal x position of the event relative to the origin of the 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.
  • sceneY
    double sceneY
    Vertical y position of the event relative to the origin of the 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.
  • screenX
    double screenX
    Absolute horizontal x position of the event.
  • screenY
    double screenY
    Absolute vertical y position of the event.
  • secondaryButtonDown
    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.
  • shiftDown
    boolean shiftDown
    Whether or not the Shift modifier is down on this event.
  • stillSincePress
    boolean stillSincePress
    Whether the mouse cursor left the hysteresis region since the previous press.
  • synthesized
    boolean synthesized

Class javafx.scene.input.RotateEvent

class RotateEvent extends GestureEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • angle
    double angle
  • totalAngle
    double totalAngle

Class javafx.scene.input.ScrollEvent

class ScrollEvent extends GestureEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • deltaX
    double deltaX
  • deltaY
    double deltaY
  • multiplierX
    double multiplierX
  • multiplierY
    double multiplierY
  • textDeltaX
    double textDeltaX
  • textDeltaXUnits
    ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits
  • textDeltaY
    double textDeltaY
  • textDeltaYUnits
    ScrollEvent.VerticalTextScrollUnits textDeltaYUnits
  • totalDeltaX
    double totalDeltaX
  • totalDeltaY
    double totalDeltaY
  • touchCount
    int touchCount

Class javafx.scene.input.SwipeEvent

class SwipeEvent extends GestureEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • touchCount
    int touchCount

Class javafx.scene.input.TouchEvent

class TouchEvent extends InputEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • altDown
    boolean altDown
    Whether or not the Alt modifier is down on this event.
  • controlDown
    boolean controlDown
    Whether or not the Control modifier is down on this event.
  • eventSetId
    int eventSetId
  • metaDown
    boolean metaDown
    Whether or not the Meta modifier is down on this event.
  • shiftDown
    boolean shiftDown
    Whether or not the Shift modifier is down on this event.
  • touchPoint
    TouchPoint touchPoint
  • touchPoints
    List<TouchPoint> touchPoints

Class javafx.scene.input.TouchPoint

class TouchPoint extends Object implements Serializable

Serialization Methods

  • readObject
    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    Throws:
    IOException
    ClassNotFoundException

Serialized Fields

  • grabbed
    EventTarget grabbed
  • id
    int id
  • pickResult
    PickResult pickResult
    Information about the pick if the picked Node is a Shape3D node and its pickOnBounds is false.
  • sceneX
    double sceneX
  • sceneY
    double sceneY
  • screenX
    double screenX
  • screenY
    double screenY
  • state
    TouchPoint.State state

Class javafx.scene.input.ZoomEvent

class ZoomEvent extends GestureEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • totalZoomFactor
    double totalZoomFactor
  • zoomFactor
    double zoomFactor

Package javafx.scene.media

Class javafx.scene.media.MediaErrorEvent

class MediaErrorEvent extends Event implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • error
    MediaException error
    The MediaException which provoked this error event.

Exception Class javafx.scene.media.MediaException

class MediaException extends RuntimeException implements Serializable

Serialized Fields

  • type
    MediaException.Type type
    What caused this error.

Class javafx.scene.media.MediaMarkerEvent

class MediaMarkerEvent extends ActionEvent implements Serializable
serialVersionUID:
20121107L

Serialized Fields

  • marker
    Pair<String,Duration> marker

Package javafx.scene.transform

Exception Class javafx.scene.transform.NonInvertibleTransformException

class NonInvertibleTransformException extends Exception implements Serializable

Class javafx.scene.transform.TransformChangedEvent

class TransformChangedEvent extends Event implements Serializable
serialVersionUID:
20121107L

Package javafx.scene.web

Class javafx.scene.web.WebErrorEvent

class WebErrorEvent extends Event implements Serializable

Serialized Fields

  • exception
    Throwable exception
  • message
    String message

Class javafx.scene.web.WebEvent

class WebEvent extends Event implements Serializable

Serialized Fields

  • data
    T data

Package javafx.stage

Class javafx.stage.WindowEvent

class WindowEvent extends Event implements Serializable
serialVersionUID:
20121107L

Package javafx.util

Class javafx.util.Duration

class Duration extends Object implements Serializable

Serialized Fields

  • millis
    double millis
    The value of this duration, in fractional milliseconds

Class javafx.util.FXPermission

class FXPermission extends BasicPermission implements Serializable
serialVersionUID:
2890556410764946054L

Class javafx.util.Pair

class Pair extends Object implements Serializable

Serialized Fields

  • key
    K key
    Key of this Pair.
  • value
    V value
    Value of this this Pair.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API