| Package | com.adobe.mosaic.om.interfaces |
| Interface | public interface ILayout extends IMosaicNode |
| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
ILayout interface provides the interface for describing the layout of a container.
| Property | Defined By | ||
|---|---|---|---|
![]() | childrenNodes : Array [read-only]
Returns an array of child nodes (IMosaicNode objects) of the node. | IMosaicNode | |
| columnAlign : String
The number of columns specifying how to justify the fully visible columns to the container width. | ILayout | ||
| columnWidth : int
The number specifying the actual column width. | ILayout | ||
| horizontalAlign : String
The horizontal alignment value of the layout. | ILayout | ||
| horizontalGap : int
The horizontal gap value of the layout, that is, the horizontal space between views, panels, or tiles controlled by the layout. | ILayout | ||
| name : String [read-only]
The name of the layout. | ILayout | ||
![]() | nodeId : String [read-only]
Returns the ID of the node. | IMosaicNode | |
![]() | nodeLabel : String
Returns the label of the tile. | IMosaicNode | |
![]() | nodeName : String [read-only]
Returns the name of the node. | IMosaicNode | |
![]() | nodeType : String [read-only]
Returns the type value of the node. | IMosaicNode | |
| numColumns : int
The number of columns in the layout. | ILayout | ||
| numRows : int
The number of rows in the layout. | ILayout | ||
| orientation : String
The orientation specifying whether elements are arranged row by row or column by column. | ILayout | ||
| paddingBottom : int
The padding value for the bottom. | ILayout | ||
| paddingLeft : int
The padding value for the left. | ILayout | ||
| paddingRight : int
The padding value for the right. | ILayout | ||
| paddingTop : int
The padding value for the top. | ILayout | ||
![]() | parentNode : IMosaicNode [read-only]
Returns the direct parent node of the current node within the application. | IMosaicNode | |
| requestedColumnCount : int
The number of columns to be displayed. | ILayout | ||
| requestedRowCount : int
The number of rows to be displayed. | ILayout | ||
| rowAlign : String
The number of columns specifying how to justify the fully visible rows to the container height. | ILayout | ||
| rowHeight : int
The number specifying the actual row height. | ILayout | ||
| verticalAlign : String
The vertical alignment value of the layout. | ILayout | ||
| verticalGap : int
The vertical gap value of the layout, that is, the vertical space between views, panels, or tiles controlled by the layout. | ILayout | ||
columnAlign | property |
columnAlign:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of columns specifying how to justify the fully visible columns to the container width. Values are "left", "justifyUsingGap", and "justifyUsingWidth". This property applies to the layout TileLayout.
Implementation
public function get columnAlign():String public function set columnAlign(value:String):voidcolumnWidth | property |
columnWidth:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number specifying the actual column width. This property applies to the layout TileLayout.
Implementation
public function get columnWidth():int public function set columnWidth(value:int):voidhorizontalAlign | property |
horizontalAlign:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The horizontal alignment value of the layout. This property applies to the layouts HorizontalLayout, VerticalLayout, and TileLayout.
Implementation
public function get horizontalAlign():String public function set horizontalAlign(value:String):voidhorizontalGap | property |
horizontalGap:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The horizontal gap value of the layout, that is, the horizontal space between views, panels, or tiles controlled by the layout. This property applies to the layouts VerticalLayout, HorizontalLayout, DynamicColumnLayout, DynamicRowLayout, TileLayout, and FlowLayout.
Implementation
public function get horizontalGap():int public function set horizontalGap(value:int):voidname | property |
name:String [read-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The name of the layout. One of: "AbsoluteLayout", "ColumnLayout", "DynamicColumnLayout", "DynamicRowLayout", "FlowLayout", "HDividedBoxLayout", "HorizontalLayout", "RowLayout", "StackLayout", "TileLayout", "VDividedBoxLayout", or "VerticalLayout".
Implementation
public function get name():StringnumColumns | property |
numColumns:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of columns in the layout. This property only applies to the layout DynamicColumnLayout.
Implementation
public function get numColumns():int public function set numColumns(value:int):voidnumRows | property |
numRows:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of rows in the layout. This property only applies to the layout DynamicRowLayout.
Implementation
public function get numRows():int public function set numRows(value:int):voidorientation | property |
orientation:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The orientation specifying whether elements are arranged row by row or column by column. Values are "rows" and "columns". This property applies to the layout TileLayout.
Implementation
public function get orientation():String public function set orientation(value:String):voidpaddingBottom | property |
paddingBottom:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The padding value for the bottom. This property applies to the layouts except AbsoluteLayout.
Implementation
public function get paddingBottom():int public function set paddingBottom(value:int):voidpaddingLeft | property |
paddingLeft:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The padding value for the left. This property applies to all layouts except AbsoluteLayout.
Implementation
public function get paddingLeft():int public function set paddingLeft(value:int):voidpaddingRight | property |
paddingRight:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The padding value for the right. This property applies to the layouts except AbsoluteLayout.
Implementation
public function get paddingRight():int public function set paddingRight(value:int):voidpaddingTop | property |
paddingTop:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The padding value for the top. This property applies to the layouts except AbsoluteLayout.
Implementation
public function get paddingTop():int public function set paddingTop(value:int):voidrequestedColumnCount | property |
requestedColumnCount:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of columns to be displayed. This property applies to the layout TileLayout.
Implementation
public function get requestedColumnCount():int public function set requestedColumnCount(value:int):voidrequestedRowCount | property |
requestedRowCount:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of rows to be displayed. This property applies to the layout TileLayout.
Implementation
public function get requestedRowCount():int public function set requestedRowCount(value:int):voidrowAlign | property |
rowAlign:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number of columns specifying how to justify the fully visible rows to the container height. Values are "top", "justifyUsingGap", and "justifyUsingHeight". This property applies to the layout TileLayout.
Implementation
public function get rowAlign():String public function set rowAlign(value:String):voidrowHeight | property |
rowHeight:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The number specifying the actual row height. This property applies to the layout TileLayout.
Implementation
public function get rowHeight():int public function set rowHeight(value:int):voidverticalAlign | property |
verticalAlign:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The vertical alignment value of the layout. This property applies to the layouts HorizontalLayout, VerticalLayout, and TileLayout.
Implementation
public function get verticalAlign():String public function set verticalAlign(value:String):voidverticalGap | property |
verticalGap:int| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
| Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
The vertical gap value of the layout, that is, the vertical space between views, panels, or tiles controlled by the layout. This property applies to the layouts VerticalLayout, HorizontalLayout, DynamicColumnLayout, DynamicRowLayout, TileLayout, and FlowLayout.
Implementation
public function get verticalGap():int public function set verticalGap(value:int):void// Create a new layout for the panel
var layoutPanel:ILayout = this.mosaicApp.createLayout("DynamicColumnLayout");
// Modify the attributes of the panel layout from the default values
layoutPanel.numColumns = 4;
// Create a panel that use this layout
var panelToAdd:IPanel = this.mosaicApp.createBlankPanel(layoutPanel);
// Set the panel's label
panelToAdd.nodeLabel = "DynamicColumnLayout Panel";
// Add the panel to the view
this.parentView.addPanel(panelToAdd);
// Add tiles to the panel...
Wed Nov 21 2018, 06:34 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties