Class FileEvent

java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.input.InputEvent
one.jpro.platform.file.event.FileEvent
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
FileDragEvent

public class FileEvent extends javafx.scene.input.InputEvent
File event.
Author:
Besmir Beqiri
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final javafx.event.EventType<FileEvent>
    Common supertype for all file event types.

    Fields inherited from class javafx.event.Event

    consumed, eventType, NULL_SOURCE_TARGET, target

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileEvent(Object source, javafx.event.EventTarget target, javafx.event.EventType<? extends FileEvent> eventType)
    Creates a new instance of the FileEvent with the specified event source, target and type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the data transfer instance associated with this event.
    javafx.event.EventType<? extends FileEvent>
     

    Methods inherited from class javafx.event.Event

    clone, consume, copyFor, fireEvent, getTarget, isConsumed

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • ANY

      public static final javafx.event.EventType<FileEvent> ANY
      Common supertype for all file event types.
  • Constructor Details

    • FileEvent

      public FileEvent(Object source, javafx.event.EventTarget target, javafx.event.EventType<? extends FileEvent> eventType)
      Creates a new instance of the FileEvent with the specified event source, target and type.
      Parameters:
      source - the source object that fired the event
      target - the target object to associate with the event
      eventType - the type of the event
  • Method Details

    • getDataTransfer

      public final DataTransfer getDataTransfer()
      Returns the data transfer instance associated with this event.
      Returns:
      the data transfer instance
    • getEventType

      public javafx.event.EventType<? extends FileEvent> getEventType()
      Overrides:
      getEventType in class javafx.scene.input.InputEvent