Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.util.dnd
Class TransferablesList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by oracle.ide.util.dnd.TransferablesList
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

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

A singleton class for handling a list of Transferable objects. This class is currently a singleton because of limitations in JDK 1.4 which will be fixed in 1.5 at which time this class should no longer be a singleton.

See Also:
Serialized Form

Field Summary
static java.awt.datatransfer.DataFlavor TRANSFERABLE_LIST_FLAVOR
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
TransferablesList(java.util.List<? extends java.awt.datatransfer.Transferable> transferables)
           
 
Method Summary
static TransferablesList getInstance()
          Deprecated. This class is no longer a singleton, use the constructor.
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 void initialize(java.util.ArrayList list)
          Deprecated. There is no replacement.
 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, 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, 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, removeAll, retainAll, subList
 

Field Detail

TRANSFERABLE_LIST_FLAVOR

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

TransferablesList

public TransferablesList(java.util.List<? extends java.awt.datatransfer.Transferable> transferables)
Method Detail

getInstance

@Deprecated
public static TransferablesList getInstance()
Deprecated. This class is no longer a singleton, use the constructor.


initialize

@Deprecated
public void initialize(java.util.ArrayList list)
Deprecated. There is no replacement.


getTransferData

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

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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