blob: 6245515b39ec005742177087f4b5ffb31cb3e7da [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.textLayout.edit.Clipboard",
"baseClassname": ""
,
"description": "The Clipboard class is used for Clipboard operations such as copy and paste It wraps the Flash Clipboard class and creates a new one on the Javascript side. To use the Javascript version, it is necessary to assign a static `clipElement` which needs to be a `contenteditable` HTML Element. This is to work around Browser issues related to Copy and Paste.",
"members": [
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "clipElement",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "accessor",
"access": "read-only",
"return": "org.apache.royale.textLayout.edit.Clipboard",
"qname": "generalClipboard",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {}},
{ "type": "method",
"qname": "hasFormat",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Boolean",
"params": [{ "name": "format", "type": "String"}]}
,
{ "type": "method",
"qname": "getData",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Object",
"params": [{ "name": "clipboardFormat", "type": "String"}]}
,
{ "type": "method",
"qname": "clear",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "clearData",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "format", "type": "String"}]}
,
{ "type": "method",
"qname": "setData",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "clipboardFormat", "type": "String"},
{ "name": "clipboardData", "type": "String"}]}
,
{ "type": "method",
"qname": "setDataHandler",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Boolean",
"params": [{ "name": "format", "type": "String"},
{ "name": "handler", "type": "Function"},
{ "name": "serializable", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "registerCallback",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "callback", "type": "Function"}]}
]
}