Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Class
java.awt.datatransfer.DataFlavor

Packages that use DataFlavor
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
 

Uses of DataFlavor in java.awt.datatransfer
 

Fields in java.awt.datatransfer declared as DataFlavor
static DataFlavor DataFlavor.stringFlavor
          The DataFlavor representing a Java Unicode String class, where:
static DataFlavor DataFlavor.plainTextFlavor
          Deprecated. as of 1.3. Use DataFlavor.getReaderForText( Transferable) instead of Transferable. getTransferData(DataFlavor.plainTextFlavor).
 

Methods in java.awt.datatransfer that return DataFlavor
 DataFlavor[] StringSelection.getTransferDataFlavors()
          Returns an array of flavors in which this Transferable can provide the data.
 DataFlavor[] Transferable.getTransferDataFlavors()
          Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
 

Methods in java.awt.datatransfer with parameters of type DataFlavor
 boolean StringSelection.isDataFlavorSupported(DataFlavor flavor)
          Returns whether the requested flavor is supported by this Transferable.
 Object StringSelection.getTransferData(DataFlavor flavor)
          Returns the Transferable's data in the requested DataFlavor if possible.
 boolean Transferable.isDataFlavorSupported(DataFlavor flavor)
          Returns whether or not the specified data flavor is supported for this object.
 Object Transferable.getTransferData(DataFlavor flavor)
          Returns an object which represents the data to be transferred.
 boolean DataFlavor.equals(DataFlavor that)
          Tests a DataFlavor to this DataFlavor for equality.
 boolean DataFlavor.match(DataFlavor that)
          Tests a DataFlavor to this DataFlavor for equality.
 boolean DataFlavor.isMimeTypeEqual(DataFlavor dataFlavor)
          Compares the mimeType of two DataFlavor objects.
 

Constructors in java.awt.datatransfer with parameters of type DataFlavor
UnsupportedFlavorException(DataFlavor flavor)
          Constructs an UnsupportedFlavorException.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.