jas.hist
Class VectorGraphicsTransferable

java.lang.Object
  extended by jas.hist.VectorGraphicsTransferable
All Implemented Interfaces:
ClipboardOwner, Transferable

public class VectorGraphicsTransferable
extends Object
implements ClipboardOwner, Transferable

Author:
tonyj

Constructor Summary
VectorGraphicsTransferable(Component c)
          Creates a new instance of VectorGraphicsTransferable
 
Method Summary
 Object getTransferData(DataFlavor dataFlavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor dataFlavor)
           
 void lostOwnership(Clipboard clipboard, Transferable transferable)
           
static void register(DataFlavor flavor, SaveAsPlugin type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorGraphicsTransferable

public VectorGraphicsTransferable(Component c)
Creates a new instance of VectorGraphicsTransferable

Method Detail

getTransferData

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

getTransferDataFlavors

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

isDataFlavorSupported

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

lostOwnership

public void lostOwnership(Clipboard clipboard,
                          Transferable transferable)
Specified by:
lostOwnership in interface ClipboardOwner

register

public static void register(DataFlavor flavor,
                            SaveAsPlugin type)


Copyright © 2000-2009 FreeHEP. All Rights Reserved.