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

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

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ButtonBarLayout class bead sizes and positions the org.apache.flex.html.Button elements that make up a org.apache.flex.html.ButtonBar. This bead arranges the Buttons horizontally and makes them all the same width unless the buttonWidths property has been set in which case the values stored in that array are used.

Public Properties

| Property | Defined By
--- | --- | ---
|  | buttonWidths : Array An array of widths (Number), one per button. | ButtonBarLayout
|  | strand : IStrand [write-only] The host component for this bead. | ButtonBarLayout

Public Methods

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

Property Detail

buttonWidths | property

`buttonWidths:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An array of widths (Number), one per button. These values supersede the default of equally-sized buttons.

Implementation
`public function get buttonWidths():Array`
`public function set buttonWidths(value:Array):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

ButtonBarLayout | () | Constructor

`public function ButtonBarLayout()`

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