public interface Clipboard
nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
Modifier and Type | Method and Description |
---|---|
void |
clearData() |
void |
clearData(String type) |
String |
getData(String type)
This method retrieves data from the clipboard into a transferable.
|
String |
getDropEffect() |
String |
getEffectAllowed() |
FileList |
getFiles() |
DataTransferItemList |
getItems() |
Indexable |
getTypes() |
boolean |
setData(String type,
String data)
This method sets the data from a transferable on the native clipboard.
|
void |
setDragImage(ImageElement image,
int x,
int y) |
void |
setDropEffect(String arg) |
void |
setEffectAllowed(String arg) |
String getDropEffect()
void setDropEffect(String arg)
String getEffectAllowed()
void setEffectAllowed(String arg)
FileList getFiles()
DataTransferItemList getItems()
Indexable getTypes()
void clearData()
void clearData(String type)
String getData(String type)
This method retrieves data from the clipboard into a transferable.
aTransferable
aWhichClipboard
boolean setData(String type, String data)
This method sets the data from a transferable on the native clipboard.
aTransferable
anOwner
aWhichClipboard
void setDragImage(ImageElement image, int x, int y)
Copyright © 2018. All rights reserved.