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
FieldsModifier and TypeFieldDescriptionstatic final javafx.event.EventType<FileEvent> Common supertype for all file event types.Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, targetFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DataTransferReturns 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, isConsumedMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
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 theFileEventwith the specified event source, target and type.- Parameters:
source- the source object that fired the eventtarget- the target object to associate with the eventeventType- the type of the event
-
-
Method Details
-
getDataTransfer
Returns the data transfer instance associated with this event.- Returns:
- the data transfer instance
-
getEventType
- Overrides:
getEventTypein classjavafx.scene.input.InputEvent
-