com.ccg.swing
Class TailTransferable

java.lang.Object
  extended by com.ccg.swing.TailTransferable
All Implemented Interfaces:
ClipboardOwner, Transferable

 class TailTransferable
extends Object
implements Transferable, ClipboardOwner


Field Summary
(package private) static DataFlavor TEXT_FLAVOR
           
 
Constructor Summary
TailTransferable(File f, long sofs, long eofs)
           
 
Method Summary
 Object getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor df)
           
 void lostOwnership(Clipboard cb, Transferable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_FLAVOR

static DataFlavor TEXT_FLAVOR
Constructor Detail

TailTransferable

TailTransferable(File f,
                 long sofs,
                 long eofs)
Method Detail

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor df)
Specified by:
isDataFlavorSupported in interface Transferable

getTransferData

public Object getTransferData(DataFlavor flavor)
                       throws IOException,
                              UnsupportedFlavorException
Specified by:
getTransferData in interface Transferable
Throws:
IOException
UnsupportedFlavorException

lostOwnership

public void lostOwnership(Clipboard cb,
                          Transferable t)
Specified by:
lostOwnership in interface ClipboardOwner


Copyright 1998-1998-2006 null. All Rights Reserved.