Clipboard Interface
nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
Methods
Code String getData(String type) #
This method retrieves data from the clipboard into a transferable.
Parameters
aTransferable
- The transferable to receive data from the clipboard.
aWhichClipboard
- Specifies the clipboard to which this operation applies.
String getData(String type);
Code bool setData(String type, String data) #
This method sets the data from a transferable on the native clipboard.
Parameters
aTransferable
- The transferable containing the data to put on the clipboard.
anOwner
- The owner of the transferable.
aWhichClipboard
- Specifies the clipboard to which this operation applies.
bool setData(String type, String data);
Code void setDragImage(ImageElement image, int x, int y) #
void setDragImage(ImageElement image, int x, int y);
Fields
Code final DataTransferItemList items #
final DataTransferItemList items;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.