套件 | 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, 03:47 PM Z