|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlavorTable
A FlavorMap which no longer requires a 1-to-1 mapping between flavors. Any native can map to multiple flavors, and any flavor can map to multiple natives; although the mappings are usually symmetric.
Method Summary | |
---|---|
List<DataFlavor> |
getFlavorsForNative(String name)
Returns a list of flavors corresponding to the given String native. |
List<String> |
getNativesForFlavor(DataFlavor flavor)
Returns a list of String natives corresponding to the given flavor. |
Methods inherited from interface java.awt.datatransfer.FlavorMap |
---|
getFlavorsForNatives, getNativesForFlavors |
Method Detail |
---|
List<String> getNativesForFlavor(DataFlavor flavor)
flavor
- the flavor to look up, or null to return all natives
List<DataFlavor> getFlavorsForNative(String name)
name
- the native name to look up, or null to return all flavors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |