

Public Member Functions | |
| ClipboardImage (Image image) | |
| DataFlavor[] | getTransferDataFlavors () |
| boolean | isDataFlavorSupported (DataFlavor flavor) |
| Object | getTransferData (DataFlavor flavor) throws UnsupportedFlavorException |
Private Attributes | |
| Image | image |
Definition at line 2689 of file CallScilabBridge.java.
| org::scilab::modules::gui::bridge::CallScilabBridge::ClipboardImage::ClipboardImage | ( | Image | image | ) | [inline] |
Default constructor
| image | the image |
Definition at line 2696 of file CallScilabBridge.java.
02696 { 02697 this.image = image; 02698 }
| DataFlavor [] org::scilab::modules::gui::bridge::CallScilabBridge::ClipboardImage::getTransferDataFlavors | ( | ) | [inline] |
DataFlavors of this transferable
Definition at line 2704 of file CallScilabBridge.java.
| boolean org::scilab::modules::gui::bridge::CallScilabBridge::ClipboardImage::isDataFlavorSupported | ( | DataFlavor | flavor | ) | [inline] |
Test supproted DataFlavors
| flavor | the flavor to test |
Definition at line 2713 of file CallScilabBridge.java.
| Object org::scilab::modules::gui::bridge::CallScilabBridge::ClipboardImage::getTransferData | ( | DataFlavor | flavor | ) | throws UnsupportedFlavorException [inline] |
Get the contents of this transferable
| flavor | the flavor to test |
| UnsupportedFlavorException | if the flavor is not supported by this transferable |
Definition at line 2723 of file CallScilabBridge.java.
References image.
02723 { 02724 if (!DataFlavor.imageFlavor.equals(flavor)) { 02725 throw new UnsupportedFlavorException(flavor); 02726 } 02727 return image; 02728 }
1.5.5