blob: f66f24df785a1a9d7ed9e9470d32ddf03af42e01 [file] [log] [blame]
{ "type": "class",
"qname": "mx.controls.treeClasses.TreeItemRenderer",
"baseClassname": "mx.core.UIComponent"
,
"description": "The TreeItemRenderer class defines the default item renderer for a Tree control. By default, the item renderer draws the text associated with each item in the tree, an optional icon, and an optional disclosure icon. <p>You can override the default item renderer by creating a custom item renderer.</p>",
"tags": [
{ "tagName": "see",
"values": ["mx.controls.Tree", "mx.core.IDataRenderer", "mx.controls.listClasses.IDropInListItemRenderer"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "mx.controls.treeClasses.TreeItemRenderer",
"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": "createChildren",
"namespace": "protected",
"bindable": [],
"details": ["override"],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "field",
"qname": "icon",
"return": "mx.core.IFlexDisplayObject",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The internal IFlexDisplayObject that displays the icon in this renderer.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "label",
"return": "mx.controls.Label",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The internal UITextField that displays the text in this renderer.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "disclosureIcon",
"return": "mx.controls.Label",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The internal IFlexDisplayObject that displays the disclosure icon in this renderer.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "data",
"namespace": "public",
"bindable": ["__NoChangeEvent__"],
"details": [],
"deprecated": {},
"description": "The data being represented by this itemRenderer. This can be something simple like a String or a Number or something very complex.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "dataToString",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"return": "String",
"params": [{ "name": "value", "type": "Object"}]}
,
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "listData",
"namespace": "public",
"bindable": ["__NoChangeEvent__"],
"details": [],
"deprecated": {},
"description": "Additional data about the list structure the itemRenderer may find useful.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "labelField",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The name of the field within the data to use as a label. Some itemRenderers use this field to identify the value they should show while other itemRenderers ignore this if they are showing complex information."},
{ "type": "method",
"qname": "adjustSize",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This function is called whenever the itemRenderer changes size. Sub-classes should override this method an handle the size change.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "updateDisplayList",
"namespace": "protected",
"bindable": [],
"details": ["override"],
"deprecated": {},
"return": "void",
"params": [{ "name": "unscaledWidth", "type": "Number"},
{ "name": "unscaledHeight", "type": "Number"}]}
,
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "text",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The text currently displayed by the itemRenderer instance.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}