📄 simplecollectionitem.as
字号:
// Copyright © 2006. Adobe Systems Incorporated. All Rights Reserved.
package fl.data {
/**
* The SimpleCollectionItem class defines a single item in an inspectable
* property that represents a data provider. A SimpleCollectionItem object
* is a collection list item that contains only <code>label</code> and
* <code>data</code> properties, for example, a ComboBox or List component.
*
* @internal Is this revised description correct?
* @adobe [LM} Yes, its ok.
*
* @includeExample examples/SimpleCollectionItemExample.as
*
* @langversion 3.0
* @playerversion Flash 9.0.28.0
*/
dynamic public class SimpleCollectionItem {
[Inspectable()]
/**
* The label property of the object.
*
* The default value is <code>label(<em>n</em>)</code>, where <em>n</em> is the ordinal index.
*
* @langversion 3.0
* @playerversion Flash 9.0.28.0
*/
public var label:String;
[Inspectable()]
/**
* The data property of the object.
*
* @default null
*
* @langversion 3.0
* @playerversion Flash 9.0.28.0
*/
public var data:String;
/**
* Creates a new SimpleCollectionItem object.
*
* @langversion 3.0
* @playerversion Flash 9.0.28.0
*/
public function SimpleCollectionItem() {}
/**
* @private
*
* @langversion 3.0
* @playerversion Flash 9.0.28.0
*/
public function toString():String {
return "[SimpleCollectionItem: "+label+","+data+"]";
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -