|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int kFlavorSenderOnly
public static final int kFlavorNotSaved
public static final int kFlavorSenderTranslated
public static final int kFlavorSystemTranslated
Method Detail |
public int getDataFlavorFlags(DataFlavor flavor) throws UnsupportedFlavorException
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.