com.adobe.mosaic.skinning

# IMosaicComponent - AS3 ADEP Composite Application

Package | com.adobe.mosaic.skinning
Interface | public interface IMosaicComponent extends 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

The `IMosaicComponent` interface is implemented by composite application user-interface components.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | allowDelete : Boolean [read-only] Indicates if this component may be deleted or not. | IMosaicComponent
|  | columnIndex : int The column index of the component. | ILayoutChild
|  | enableDrag : Boolean Indicates if the item may be dragged. | ILayoutChild
|  | label : String The title of the component. | IMosaicComponent
|  | mosaicNode : IMosaicNode [read-only] Do Not Use. | IMosaicComponent
|  | rowIndex : int The row index of the component | ILayoutChild

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | commitResize(newWidth:Number, newHeight:Number):void Records the new size of the component in the DOM structure representing the component. | IMosaicComponent
|  | createDragProxy():IFlexDisplayObject Creates an displayable object (eg, Image) of the child suitable for use in a drag/drop operation as the drag proxy. | ILayoutChild
|  | getLocalizedString(key:String, params:Array = null):String Returns the localized string associated with the given key. | IMosaicComponent

Property Detail

### allowDelete

property

`allowDelete:Boolean` [read-only]

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 this component may be deleted or not.

Implementation
`public function get allowDelete():Boolean`

### label

property

`label:String`

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 title of the component.

This property can be used as the source for data binding. When this property is modified, it dispatches the `labelChanged` event.

Implementation
`public function get label():String`
`public function set label(value:String):void`

### mosaicNode

property

`mosaicNode:IMosaicNode` [read-only]

Language Version: | ActionScript 3.0

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

Runtime Versions: | AIR 2.6, Flash Player 10.2

Do Not Use. For internal use only.

Implementation
`public function get mosaicNode():IMosaicNode`
Method Detail

### commitResize

()
method

`public function commitResize(newWidth:Number, newHeight:Number):void`

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

Records the new size of the component in the DOM structure representing the component.

Parameters

| `newWidth:Number` — The width of the component.
| `newHeight:Number` — The height of the component.

### getLocalizedString

()
method

`public function getLocalizedString(key:String, params:Array = null):String`

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

Returns the localized string associated with the given key.

Parameters

| `key:String` — Specifies the index of the string in the localized resource bundles.
| `params:Array` (default = `null`)`` — (Optional) Specifies the array of substitution values if the localized string contains {#}. placeholders.

Returns

| `String` — The translated string in the current locale.

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