blob: f4f9da5a889f005b30ae20e7dafba29485d5ce21 [file] [log] [blame]
{ "type": "class",
"qname": "mx.controls.DownloadButton",
"baseClassname": "mx.controls.Button"
,
"description": "The DownloadButton control is a Button control that initiates the downloading of some data when the user clicks the button. The user can also right click to choose the location of the download. It only works on JS. The data must be set before the user clicks or right-clicks.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "mx.controls.DownloadButton",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "method",
"qname": "createElement",
"namespace": "protected",
"bindable": [],
"details": ["override"],
"deprecated": {},
"return": "org.apache.royale.core.WrappedHTMLElement",
"params": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "data",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "The <code>data</code> property lets you pass a value to the component when you use it as an item renderer or item editor. You typically use data binding to bind a field of the <code>data</code> property to a property of this component. <p>When you use the control as a drop-in item renderer or drop-in item editor, Flex automatically writes the current value of the item to the <code>selected</code> property of this control.</p> <p>You do not set this property in MXML.</p>",
"tags": [
{ "tagName": "default",
"values": ["null", "null"]},
{ "tagName": "see",
"values": ["mx.core.IDataRenderer", "mx.core.IDataRenderer"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3", "Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0", "3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "defaultFileName",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {}}]
}