JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.datatransfer
Interface FlaggedTransferable

All Superinterfaces:
Transferable
All Known Implementing Classes:
Transfer, TranslatedTransferable

Deprecated. As of MacOSX 10.2

public interface FlaggedTransferable
extends Transferable

An extension of the Transferable interface that allows a 32-bit set of flags to be associated with each item of flavor data. Different data transfer mechanisms (clipboard, drag and drop, etc.) may interpret these flags in specific ways. The use of this interface is optional -- if a Transferable object does not implement this interface, the flags of all its items default to zero.


Field Summary
static int kFlavorNotSaved
          Deprecated. Flavor flag indicating flavor data that is not persistent and should not be saved persistently (e.g.
static int kFlavorSenderOnly
          Deprecated. Flavor flag indicating a private flavor that is not visible to other applications.
static int kFlavorSenderTranslated
          Deprecated. Flavor flag indicating a private flavor that has been translated by the sender, if the sender does its own data format translation.
static int kFlavorSystemTranslated
          Deprecated. Flavor flag indicating a flavor generated by the Mac OS Translation Manager.
 
Method Summary
 int getDataFlavorFlags(DataFlavor flavor)
          Deprecated. Returns the flags associated with a particular data flavor.
 
Methods inherited from interface java.awt.datatransfer.Transferable
getTransferData, getTransferDataFlavors, isDataFlavorSupported
 

Field Detail

kFlavorSenderOnly

public static final int kFlavorSenderOnly
Deprecated. 
Flavor flag indicating a private flavor that is not visible to other applications.

kFlavorNotSaved

public static final int kFlavorNotSaved
Deprecated. 
Flavor flag indicating flavor data that is not persistent and should not be saved persistently (e.g. in a clipping file.)

kFlavorSenderTranslated

public static final int kFlavorSenderTranslated
Deprecated. 
Flavor flag indicating a private flavor that has been translated by the sender, if the sender does its own data format translation. Such flavors should not be stored persistently, e.g. in clipping files.

kFlavorSystemTranslated

public static final int kFlavorSystemTranslated
Deprecated. 
Flavor flag indicating a flavor generated by the Mac OS Translation Manager.
Method Detail

getDataFlavorFlags

public int getDataFlavorFlags(DataFlavor flavor)
                       throws UnsupportedFlavorException
Deprecated. 
Returns the flags associated with a particular data flavor.

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

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