com.adobe.mosaic.layouts

# ILayoutChild - AS3 ADEP Composite Application

Package | com.adobe.mosaic.layouts
Interface | public interface ILayoutChild

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10

Runtime Versions: | AIR 2.6, Flash Player 10.2

Components that are used with the SmartGridLayout, SmartColumnLayout, and SmartRowLayout, should implement this interface. Components that are allowed to be dragged and are used within a DragDropGroup should also implement this interface.

Public Properties

| Property | Defined By
--- | --- | ---
|  | columnIndex : int The column index of the component. | ILayoutChild
|  | enableDrag : Boolean Indicates if the item may be dragged. | ILayoutChild
|  | rowIndex : int The row index of the component | ILayoutChild

Public Methods

| Method | Defined By
--- | --- | ---
|  | createDragProxy():IFlexDisplayObject Creates an displayable object (eg, Image) of the child suitable for use in a drag/drop operation as the drag proxy. | ILayoutChild

Property Detail

### columnIndex

property

`columnIndex:int`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10

Runtime Versions: | AIR 2.6, Flash Player 10.2

The column index of the component.

Implementation
`public function get columnIndex():int`
`public function set columnIndex(value:int):void`

### enableDrag

property

`enableDrag:Boolean`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10

Runtime Versions: | AIR 2.6, Flash Player 10.2

Indicates if the item may be dragged. The default is false.

Implementation
`public function get enableDrag():Boolean`
`public function set enableDrag(value:Boolean):void`

### rowIndex

property

`rowIndex:int`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10

Runtime Versions: | AIR 2.6, Flash Player 10.2

The row index of the component

Implementation
`public function get rowIndex():int`
`public function set rowIndex(value:int):void`
Method Detail

### createDragProxy

()
method

`public function createDragProxy():IFlexDisplayObject`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10

Runtime Versions: | AIR 2.6, Flash Player 10.2

Creates an displayable object (eg, Image) of the child suitable for use in a drag/drop operation as the drag proxy.

Returns

| `IFlexDisplayObject` — A suitable drag proxy, including null, which will cause a default image to be used.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00