Extension SDK 10.1.2

oracle.ide.datatransfer
Class TransferableContext

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byoracle.ide.datatransfer.TransferableContext
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable, java.awt.datatransfer.Transferable

public class TransferableContext
extends java.util.ArrayList
implements java.awt.datatransfer.Transferable

TransferableContext represents the set of selected Element objects that are part of drag-and-drop data transfer operation.

See Also:
Serialized Form

Field Summary
static java.awt.datatransfer.DataFlavor contextFlavor
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
TransferableContext(Context context)
          Construct a TransferableContext from the specified Context.
 
Method Summary
 Context getContext()
           
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

contextFlavor

public static final java.awt.datatransfer.DataFlavor contextFlavor
Constructor Detail

TransferableContext

public TransferableContext(Context context)
Construct a TransferableContext from the specified Context.

Method Detail

getContext

public Context getContext()

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
                                 throws java.awt.datatransfer.UnsupportedFlavorException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface java.awt.datatransfer.Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface java.awt.datatransfer.Transferable

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.