APIdia Launch Partner
Top Description Fields Constructors Methods
java.awt.datatransfer

public Class FlavorEvent

extends EventObject
Class Inheritance
Imports
java.io.Serial, java.util.EventObject

FlavorEvent is used to notify interested parties that available DataFlavors have changed in the Clipboard (the event source).
Author
Alexander Gerasimov
Since
1.5
See Also
FlavorListener

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Use serialVersionUID from JDK 1.5 for interoperability.
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
FlavorEvent(Clipboard
the Clipboard that is the source of the event
source
)

Constructs a FlavorEvent object.

Method Summary

Inherited from java.util.EventObject:
getSourcetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Use serialVersionUID from JDK 1.5 for interoperability.

Annotations
@Serial

Constructor Detail

FlavorEventback to summary
public FlavorEvent(Clipboard source)

Constructs a FlavorEvent object.

Parameters
source:Clipboard

the Clipboard that is the source of the event

Exceptions
IllegalArgumentException:
if the source is null