Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
TileLayout

Package | org.apache.flex.html.beads.layouts
Class | public class TileLayout
Inheritance | TileLayout Object
Implements | IBeadLayout

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The TileLayout class bead sizes and positions the elements it manages into rows and columns. The size of each element is determined either by setting TileLayout's columnWidth and rowHeight properties, or having the tile size determined by factoring the numColumns into the area assigned for the layout.

Public Properties

| Property | Defined By
--- | --- | ---
|  | columnWidth : Number The width of each column, in pixels. | TileLayout
|  | numColumns : Number The number of tiles to fit horizontally into the layout. | TileLayout
|  | rowHeight : Number The height of each row, in pixels. | TileLayout
|  | strand : IStrand [write-only] The host component for this bead. | TileLayout

Public Methods

| Method | Defined By
--- | --- | ---
|  | TileLayout() constructor. | TileLayout
|  | layout():Boolean | TileLayout

Property Detail

columnWidth | property

`columnWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The width of each column, in pixels. If left unspecified, the columnWidth is determined by dividing the numColumns into the strand's bounding box width.

Implementation
`public function get columnWidth():Number`
`public function set columnWidth(value:Number):void`

numColumns | property |

`numColumns:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The number of tiles to fit horizontally into the layout.

Implementation
`public function get numColumns():Number`
`public function set numColumns(value:Number):void`

rowHeight | property |

`rowHeight:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The height of each row, in pixels. If left unspecified, the rowHeight is determine by dividing the possible number of rows into the strand's bounding box height.

Implementation
`public function get rowHeight():Number`
`public function set rowHeight(value:Number):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`
Constructor Detail

TileLayout | () | Constructor

`public function TileLayout()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Method Detail

layout | () | method

`public function layout():Boolean`

Returns

| `Boolean`

Mon Sep 5 2016, 07:19 AM -07:00