| 包 | com.adobe.mosaic.skinning |
| 接口 | public interface IMosaicContainer extends IMosaicComponent , ILayoutChild |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
IMosaicContainer interface is implemented by most composite application container, such as View,
ViewManager, Panel, and Shell. Skins for these containers can declare
their hostComponent to be of this interface type, gaining access to the
underlying composite application container through the functions and properties here.
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
![]() | allowDelete : Boolean [只读]
Indicates if this component may be deleted or not. | IMosaicComponent | |
![]() | columnIndex : int
The column index of the component. | ILayoutChild | |
| contentList : ISelectableList [只读]
The list of components managed by this container as a SelectableList. | IMosaicContainer | ||
![]() | enableDrag : Boolean
Indicates if the item may be dragged. | ILayoutChild | |
![]() | label : String
The title of the component. | IMosaicComponent | |
![]() | mosaicNode : IMosaicNode [只读]
Do Not Use. | IMosaicComponent | |
![]() | rowIndex : int
The row index of the component
| ILayoutChild | |
| selectedChild : DisplayObject [只读]
Returns the selectedChild of the hostComponent or null if no
child is currently selected. | IMosaicContainer | ||
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
The skin should present a control to allow the user to request a new
child element. | IMosaicContainer | ||
The skin should present a control to allow the user to close
a child element. | IMosaicContainer | ||
The skin should present a control to allow the user to save
a child element. | IMosaicContainer | ||
![]() |
Records the new size of the component in the DOM structure representing
the component. | IMosaicComponent | |
![]() |
Creates an displayable object (eg, Image) of the
child suitable for use in a drag/drop operation as the
drag proxy. | ILayoutChild | |
![]() |
Returns the localized string associated with the given key. | IMosaicComponent | |
Instructs the hostComponent to handle the Add request. | IMosaicContainer | ||
Instructs the hostComponent to handle the Close request. | IMosaicContainer | ||
Instructs the hostComponent to give one of its children a new name. | IMosaicContainer | ||
Instructs the hostComponent to handle the Save request. | IMosaicContainer | ||
Make the hostComponent show the child at the given index. | IMosaicContainer | ||
contentList | 属性 |
contentList:ISelectableList [只读] | 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The list of components managed by this container as a SelectableList.
实现
public function get contentList():ISelectableListselectedChild | 属性 |
selectedChild:DisplayObject [只读] | 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Returns the selectedChild of the hostComponent or null if no
child is currently selected.
实现
public function get selectedChild():DisplayObjectallowsAdd | () | 方法 |
public function allowsAdd():Boolean| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The skin should present a control to allow the user to request a new
child element. Pressing the control should invoke the handleAddRequest()
function.
Boolean — A value of true if the hostComponent allows new children.
|
allowsClose | () | 方法 |
public function allowsClose():Boolean| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The skin should present a control to allow the user to close a child element. Pressing the control should invoke the handleCloseRequest() function.
返回Boolean — true if the hostComponent allows its children to be closed.
|
allowsSave | () | 方法 |
public function allowsSave():Boolean| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The skin should present a control to allow the user to save a child element. Pressing the control should invoke the handleSaveRequest() function.
返回Boolean — true if the hostComponent allows its children to be saved.
|
handleAddRequest | () | 方法 |
public function handleAddRequest():void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Instructs the hostComponent to handle the Add request.
handleCloseRequest | () | 方法 |
public function handleCloseRequest(index:int):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Instructs the hostComponent to handle the Close request.
参数
index:int — The index of the child to close.
|
handleRenameRequest | () | 方法 |
public function handleRenameRequest(index:int, newName:String):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Instructs the hostComponent to give one of its children a new name.
参数
index:int — The index of the child to give a new name to.
| |
newName:String — The new name to give.
|
handleSaveRequest | () | 方法 |
public function handleSaveRequest(index:int):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Instructs the hostComponent to handle the Save request.
参数
index:int — The index of the child to save.
|
selectChildIndex | () | 方法 |
public function selectChildIndex(newIndex:int, oldIndex:int):void| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Make the hostComponent show the child at the given index.
参数
newIndex:int — The index of the child being selected.
| |
oldIndex:int — The index of the child that was selected.
|
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性