public class JsClipboard extends JsElementalMixinBase implements Clipboard
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsClipboard() |
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() |
JsFileList |
getFiles() |
JsDataTransferItemList |
getItems() |
JsIndexable |
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 param_dropEffect) |
void |
setEffectAllowed(String param_effectAllowed) |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final String getDropEffect()
getDropEffect
in interface Clipboard
public final void setDropEffect(String param_dropEffect)
setDropEffect
in interface Clipboard
public final String getEffectAllowed()
getEffectAllowed
in interface Clipboard
public final void setEffectAllowed(String param_effectAllowed)
setEffectAllowed
in interface Clipboard
public final JsFileList getFiles()
public final JsDataTransferItemList getItems()
public final JsIndexable getTypes()
public final String getData(String type)
Clipboard
This method retrieves data from the clipboard into a transferable.
aTransferable
aWhichClipboard
public final boolean setData(String type, String data)
Clipboard
This method sets the data from a transferable on the native clipboard.
aTransferable
anOwner
aWhichClipboard
public final void setDragImage(ImageElement image, int x, int y)
setDragImage
in interface Clipboard
Copyright © 2016. All rights reserved.