## org.autoplot.transferrable.ImageSelection

Transferable for Images. `ImageSelection imageSelection = new ImageSelection(); DasCanvas c = parent.applicationModel.canvas; Image i = c.getImage(c.getWidth(), c.getHeight()); imageSelection.setImage(i); Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); clipboard.setContents(imageSelection, ImageSelection.getNullClipboardOwner() )`

## ImageSelection( )

## createTransferable

createTransferable( javax.swing.JComponent comp ) → java.awt.datatransfer.Transferable

### Parameters

comp - a JComponent

### Returns:

java.awt.datatransfer.Transferable
[search for examples] [view on GitHub] [view on old javadoc]

## getNullClipboardOwner

getNullClipboardOwner( ) → java.awt.datatransfer.ClipboardOwner

### Returns:

java.awt.datatransfer.ClipboardOwner
[search for examples] [view on GitHub] [view on old javadoc]

## getSourceActions

getSourceActions( javax.swing.JComponent c ) → int

### Parameters

c - a JComponent

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc]

## getTransferData

getTransferData( java.awt.datatransfer.DataFlavor flavor ) → Object

### Parameters

flavor - a DataFlavor

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc]

## getTransferDataFlavors

getTransferDataFlavors( ) → java.awt.datatransfer.DataFlavor[]

### Returns:

java.awt.datatransfer.DataFlavor[]
[search for examples] [view on GitHub] [view on old javadoc]

## importData

importData( javax.swing.JComponent comp, java.awt.datatransfer.Transferable t ) → boolean

### Parameters

comp - a JComponent
t - a Transferable

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc]

## isDataFlavorSupported

isDataFlavorSupported( java.awt.datatransfer.DataFlavor flavor ) → boolean

### Parameters

flavor - a DataFlavor

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc]

## setImage

setImage( java.awt.Image i ) → void

### Parameters

i - an Image

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]