Uses of Class java.awt.datatransfer.DataFlavor

Uses in package java.awt.datatransfer

Constructors with parameter type java.awt.datatransfer.DataFlavor

Initializes a new instance of UnsupportedDataFlavor for the specified data flavor.

Fields of type java.awt.datatransfer.DataFlavor

DataFlavor
This is an image flavor used for transferring images.
DataFlavor
This is a data flavor used for transferring lists of files.
DataFlavor
This is the data flavor used for tranferring plain text.
DataFlavor
This is the data flavor used for transferring Java strings.

Methods with parameter type java.awt.datatransfer.DataFlavor

Map
Maps the specified DataFlavor objects to the native data type name.
Map
Maps the specified DataFlavor objects to the native data type name.
void
Adds a mapping from a single String native to a single DataFlavor.
void
Adds a mapping from the specified DataFlavor (and all DataFlavors equal to the specified DataFlavor) to the specified String native.
String
Encodes a DataFlavor for use as a String native.
boolean
This method test the specified DataFlavor for equality against this object.
Object
List
Returns a list of String natives corresponding to the given flavor.
List
Returns a list of String natives corresponding to the given flavor.
Object
This method returns the data in the requested format.
Object
Returns the data in the specified DataFlavor.
boolean
boolean
Tests whether or not the specified data flavor is supported.
boolean
Tests whether or not this data can be delivered in the specified data flavor.
boolean
Tests the MIME type of this object for equality against the specified data flavor's MIME type
boolean
Returns true when the given DataFlavor matches this one.
DataFlavor
Selects the best supported text flavor on this implementation.
void
Discards the current mappings for the specified String native, and creates new mappings to the specified DataFlavors.
void
Discards the current mappings for the specified DataFlavor and all DataFlavors equal to the specified DataFlavor, and creates new mappings to the specified String natives.

Methods with return type java.awt.datatransfer.DataFlavor

DataFlavor
Returns the data flavor given the native type name or null when no such data flavor exists.
DataFlavor[]
DataFlavor
XXX - Currently returns plainTextFlavor.
DataFlavor[]
Returns a list of supported data flavors.
DataFlavor[]
This method returns a list of available data flavors for the data being transferred.
DataFlavor
Selects the best supported text flavor on this implementation.

Uses in package java.awt.dnd.peer

Methods with return type java.awt.datatransfer.DataFlavor

DataFlavor[]

Uses in package javax.swing

Methods with parameter type java.awt.datatransfer.DataFlavor

boolean
Returns true if the data in this TransferHandler can be imported into the specified component.

Uses in package java.awt.dnd

Methods with parameter type java.awt.datatransfer.DataFlavor

Object
Returns the data in the specified DataFlavor.
boolean
boolean
Tests whether or not this data can be delivered in the specified data flavor.
boolean
boolean

Methods with return type java.awt.datatransfer.DataFlavor

DataFlavor[]
DataFlavor[]
DataFlavor[]
DataFlavor[]
This method returns a list of available data flavors for the data being transferred.

Uses in package javax.accessibility

Methods with parameter type java.awt.datatransfer.DataFlavor

InputStream
Return an input stream that yields the contents of this object, using the given data flavor.

Methods with return type java.awt.datatransfer.DataFlavor

DataFlavor[]
Return an array of the data flavors supported by this object.