Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

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. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
 

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
          The DataFlavor representing plain text with unicode encoding, where:
static DataFlavor DataFlavor.javaFileListFlavor
          To transfer a list of files to/from Java (and the underlying platform) a DataFlavor of this type/subtype and representation class of java.util.List is used.
 

Methods in java.awt.datatransfer that return DataFlavor
 DataFlavor[] StringSelection.getTransferDataFlavors()
          Returns the array of flavors in which it can provide the data.
static DataFlavor SystemFlavorMap.decodeDataFlavor(String atom)
           
 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 object.
 Object StringSelection.getTransferData(DataFlavor flavor)
          If the data was requested in the "java.lang.String" flavor, return the String representing the selection.
 boolean DataFlavor.equals(DataFlavor dataFlavor)
          Compare this DataFlavor against another DataFlavor object both mimeType and representationClass are considered
 boolean DataFlavor.isMimeTypeEqual(DataFlavor dataFlavor)
          Compare the mimeType of two DataFlavor objects no parameters are considered
 Map FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
 Map SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
static String SystemFlavorMap.encodeDataFlavor(DataFlavor df)
           
 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.
 

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

Uses of DataFlavor in java.awt.dnd
 

Methods in java.awt.dnd that return DataFlavor
 DataFlavor[] DropTargetDragEvent.getCurrentDataFlavors()
          This method returns the current DataFlavors from the DropTargetContext.
 DataFlavor[] DropTargetDropEvent.getCurrentDataFlavors()
          This method returns the current DataFlavors.
protected  DataFlavor[] DropTargetContext.getCurrentDataFlavors()
          get the available DataFlavors of the Transferable operand of this operation.
 DataFlavor[] DropTargetContext.TransferableProxy.getTransferDataFlavors()
          get the flavors
 

Methods in java.awt.dnd with parameters of type DataFlavor
 boolean DropTargetDragEvent.isDataFlavorSupported(DataFlavor df)
          This method returns a boolean indicating if the specified DataFlavor is supported.
 boolean DropTargetDropEvent.isDataFlavorSupported(DataFlavor df)
          This method returns a boolean indicating if the specified DataFlavor is available from the source.
protected  boolean DropTargetContext.isDataFlavorSupported(DataFlavor df)
          This method returns a boolean indicating if the given DataFlavor is supported by this DropTargetContext.
 boolean DropTargetContext.TransferableProxy.isDataFlavorSupported(DataFlavor flavor)
          check if a particular flavor is supported?
 Object DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
          get the transfer data
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.