<h2>org.autoplot.transferrable.ImageSelection</h2><p>Transferable for Images. <code> 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() ) </code></p> <h2>ImageSelection( )</h2> <p></p> <hr> <a name="createTransferable"></a> <h2>createTransferable</h2> createTransferable( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/JComponent.html'>javax.swing.JComponent</a> comp ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/Transferable.html'>java.awt.datatransfer.Transferable</a> <p></p> <h3>Parameters</h3> comp - a JComponent <h3>Returns:</h3> java.awt.datatransfer.Transferable <br><br> <a href="https://github.com/autoplot/dev/search?q=createTransferable&unscoped_q=createTransferable">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#createTransferable">[view on old javadoc]</a> <br> <br> <hr> <a name="getNullClipboardOwner"></a> <h2>getNullClipboardOwner</h2> getNullClipboardOwner( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/ClipboardOwner.html'>java.awt.datatransfer.ClipboardOwner</a> <p></p> <h3>Returns:</h3> java.awt.datatransfer.ClipboardOwner <br><br> <a href="https://github.com/autoplot/dev/search?q=getNullClipboardOwner&unscoped_q=getNullClipboardOwner">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#getNullClipboardOwner">[view on old javadoc]</a> <br> <br> <hr> <a name="getSourceActions"></a> <h2>getSourceActions</h2> getSourceActions( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/JComponent.html'>javax.swing.JComponent</a> c ) → int <p></p> <h3>Parameters</h3> c - a JComponent <h3>Returns:</h3> int <br><br> <a href="https://github.com/autoplot/dev/search?q=getSourceActions&unscoped_q=getSourceActions">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#getSourceActions">[view on old javadoc]</a> <br> <br> <hr> <a name="getTransferData"></a> <h2>getTransferData</h2> getTransferData( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/DataFlavor.html'>java.awt.datatransfer.DataFlavor</a> flavor ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> <p></p> <h3>Parameters</h3> flavor - a DataFlavor <h3>Returns:</h3> java.lang.Object <br><br> <a href="https://github.com/autoplot/dev/search?q=getTransferData&unscoped_q=getTransferData">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#getTransferData">[view on old javadoc]</a> <br> <br> <hr> <a name="getTransferDataFlavors"></a> <h2>getTransferDataFlavors</h2> getTransferDataFlavors( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/DataFlavor.html'>java.awt.datatransfer.DataFlavor[]</a> <p></p> <h3>Returns:</h3> java.awt.datatransfer.DataFlavor[] <br><br> <a href="https://github.com/autoplot/dev/search?q=getTransferDataFlavors&unscoped_q=getTransferDataFlavors">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#getTransferDataFlavors">[view on old javadoc]</a> <br> <br> <hr> <a name="importData"></a> <h2>importData</h2> importData( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/JComponent.html'>javax.swing.JComponent</a> comp, <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/Transferable.html'>java.awt.datatransfer.Transferable</a> t ) → boolean <p></p> <h3>Parameters</h3> comp - a JComponent <br> t - a Transferable <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=importData&unscoped_q=importData">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#importData">[view on old javadoc]</a> <br> <br> <hr> <a name="isDataFlavorSupported"></a> <h2>isDataFlavorSupported</h2> isDataFlavorSupported( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/datatransfer/DataFlavor.html'>java.awt.datatransfer.DataFlavor</a> flavor ) → boolean <p></p> <h3>Parameters</h3> flavor - a DataFlavor <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isDataFlavorSupported&unscoped_q=isDataFlavorSupported">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#isDataFlavorSupported">[view on old javadoc]</a> <br> <br> <hr> <a name="setImage"></a> <h2>setImage</h2> setImage( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Image.html'>java.awt.Image</a> i ) → void <p></p> <h3>Parameters</h3> i - an Image <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setImage&unscoped_q=setImage">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/transferrable/ImageSelection.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/transferrable/ImageSelection.html#setImage">[view on old javadoc]</a> <br> <br>