包 | com.adobe.mosaic.om.interfaces |
接口 | public interface ILayout |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
ILayout
interface provides the interface for describing the layout of a container.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
name : String [只读]
The name of the layout. | ILayout | ||
uniqueID : String [只读]
The generated, unique identifier of the node. | ILayout |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Retrieves the value of the specified attribute key from the Layout object. | ILayout | ||
Retrieves an array of objects. | ILayout | ||
Allows the setting of any attribute key/value pair on the layout object. | ILayout |
属性详细信息
name | 属性 |
name:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The name of the layout. Can be a short name for a built-in layout or a fully-qualified class name.
实现
public function get name():String
uniqueID | 属性 |
uniqueID:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The generated, unique identifier of the node. The unique identifier is only constant during a single run of the application.
实现
public function get uniqueID():String
方法详细信息
getAttribute | () | 方法 |
public function getAttribute(key:String):String
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Retrieves the value of the specified attribute key from the Layout object.
参数
key:String — Specifies any attribute that is used by the Layout.
|
String — The value associated with the key. Null if the attribute is not found.
|
getAttributePairs | () | 方法 |
public function getAttributePairs():Array
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Retrieves an array of objects. The array contains a name and value formatted as: name:String value:*
which represents
the attributes of a given layout and their values. These values allows iteration of the
attributes on a layout.
Array — An array of objects. For example, when the value is a string value: {name:String, value:String}
|
setAttribute | () | 方法 |
public function setAttribute(key:String, value:String):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Allows the setting of any attribute key/value pair on the layout object.
参数
key:String — Specifies any attribute that is used by the Layout as a property.
| |
value:String — Specifies any value that is used by the Layout, associate with the key provided.
|
Tue Jun 12 2018, 11:04 AM Z