blob: cb42245e44d507de28a9d741fd112b0b038d53c9 [file] [log] [blame]
{ "type": "class",
"qname": "spark.collections.SubListView",
"baseClassname": "org.apache.royale.events.EventDispatcher"
,
"description": "A "view" of a contiguous IList interval that begins at startIndex and extends for count items. The list item index parameter for IList methods like getItemAt(index) are defined relative to this SubListView. For example the SubListView definition of getItemAt(0) is defined as list.getItemAt(startIndex). Similarly returned index values and the location CollectionEvent property are defined relative to the SubListView. In all other respects paraters, return values, and events, have the same semantics as defined for IList. This class is internal to the Grid implementation.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 11", "AIR 3"]},
{ "tagName": "productversion",
"values": ["Flex 5.0*"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "spark.collections.SubListView",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Construct a SubListView and optionally specify the target list and the item interval this SubListView spans.",
"return": "",
"params": [{ "name": "list", "type": "mx.collections.IList"},
{ "name": "startIndex", "type": "int"},
{ "name": "count", "type": "int"}]}
,
{ "type": "accessor",
"access": "read-write",
"return": "mx.collections.IList",
"qname": "list",
"namespace": "public",
"bindable": ["listChanged"],
"details": [],
"deprecated": {},
"description": "The IList to which all of IList methods are delegated. <p>If this property is null, the IList mutation methods, such as <code>setItemAt()</code>, are no-ops. The IList query methods, such <code>getItemAt()</code>, return null or zero (-1 for <code>getItemIndex()</code>), as appropriate.</p>",
"tags": [
{ "tagName": "default",
"values": ["null"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "int",
"qname": "startIndex",
"namespace": "public",
"bindable": ["startIndexChanged"],
"details": [],
"deprecated": {},
"description": "The index of the first list item included by this SubListView.",
"tags": [
{ "tagName": "default",
"values": ["0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "int",
"qname": "count",
"namespace": "public",
"bindable": ["countChanged"],
"details": [],
"deprecated": {},
"description": "The number of items to be included in this SubListView or -1, which means that all items, beginning with the one at startIndex, are to be included.",
"tags": [
{ "tagName": "default",
"values": ["-1"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "int",
"qname": "length",
"namespace": "public",
"bindable": ["collectionChange"],
"details": [],
"deprecated": {}},
{ "type": "method",
"qname": "addItem",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "item", "type": "Object"}]}
,
{ "type": "method",
"qname": "addItemAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "item", "type": "Object"},
{ "name": "index", "type": "int"}]}
,
{ "type": "method",
"qname": "getItemAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Object",
"params": [{ "name": "index", "type": "int"},
{ "name": "prefetch", "type": "int"}]}
,
{ "type": "method",
"qname": "getItemIndex",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "int",
"params": [{ "name": "item", "type": "Object"}]}
,
{ "type": "method",
"qname": "itemUpdated",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "item", "type": "Object"},
{ "name": "property", "type": "Object"},
{ "name": "oldValue", "type": "Object"},
{ "name": "newValue", "type": "Object"}]}
,
{ "type": "method",
"qname": "removeAll",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "removeItem",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Boolean",
"params": [{ "name": "item", "type": "Object"}]}
,
{ "type": "method",
"qname": "removeItemAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Object",
"params": [{ "name": "index", "type": "int"}]}
,
{ "type": "method",
"qname": "setItemAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Object",
"params": [{ "name": "item", "type": "Object"},
{ "name": "index", "type": "int"}]}
,
{ "type": "method",
"qname": "toArray",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "Array",
"params": []}
]
}