ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.mosaic.skinning 

IMosaicComponent  - AS3 ADEP Composite Application

Packagecom.adobe.mosaic.skinning
Interfacepublic 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
 PropertyDefined By
  allowDelete : Boolean
[read-only] Indicates if this component may be deleted or not.
IMosaicComponent
 InheritedcolumnIndex : int
The column index of the component.
ILayoutChild
 InheritedenableDrag : 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
 InheritedrowIndex : int
The row index of the component
ILayoutChild
Public Methods
 MethodDefined By
  
commitResize(newWidth:Number, newHeight:Number):void
Records the new size of the component in the DOM structure representing the component.
IMosaicComponent
 Inherited
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
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.