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

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

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The OneFlexibleChildHorizontalLayout class is a simple layout bead. It takes the set of children and lays them out horizontally in one row, separating them according to CSS layout rules for margin and padding styles. But it will size the one child to take up as much or little room as possible.

Public Properties

| Property | Defined By
--- | --- | ---
|  | flexibleChild : String The id of the flexible child | OneFlexibleChildHorizontalLayout
|  | maxHeight : Number | OneFlexibleChildHorizontalLayout
|  | maxWidth : Number | OneFlexibleChildHorizontalLayout
|  | strand : IStrand [write-only] The host component for this bead. | OneFlexibleChildHorizontalLayout

Public Methods

| Method | Defined By
--- | --- | ---
|  | OneFlexibleChildHorizontalLayout() Constructor. | OneFlexibleChildHorizontalLayout
|  | layout():Boolean | OneFlexibleChildHorizontalLayout
|  | setDocument(document:Object, id:String = null):void | OneFlexibleChildHorizontalLayout

Property Detail

flexibleChild | property

`public var flexibleChild:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The id of the flexible child

maxHeight | property |

`maxHeight:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

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

maxWidth | property |

`maxWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Implementation
`public function get maxWidth():Number`
`public function set maxWidth(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

OneFlexibleChildHorizontalLayout | () | Constructor

`public function OneFlexibleChildHorizontalLayout()`

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`

setDocument | () | method |

`public function setDocument(document:Object, id:String = null):void`

Parameters

| `document:Object`
| `id:String` (default = `null`)``

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