| Package | org.openPyro.layout |
| Class | public class RowGridLayout |
| Implements | IContainerMeasurementHelper, ILayout |
| Property | Defined by | ||
|---|---|---|---|
| container : UIContainer
[write-only]
| RowGridLayout | ||
| initX : Number [write-only]
| RowGridLayout | ||
| initY : Number [write-only]
| RowGridLayout | ||
| prepare : Function [write-only]
| RowGridLayout | ||
| Property | Defined by | ||
|---|---|---|---|
| _columnGap : Number | RowGridLayout | ||
| _numColumns : uint | RowGridLayout | ||
| _rowGap : Number | RowGridLayout | ||
| _rowHeight : Number = NaN | RowGridLayout | ||
| Method | Defined by | ||
|---|---|---|---|
|
RowGridLayout(numColumns:uint, rowHeight:Number, rowGap:Number = 0, columnGap:Number = 0)
| RowGridLayout | ||
|
calculateSizes(children:Array, container:UIContainer):void
| RowGridLayout | ||
|
getMaxHeight(children:Array):Number
| RowGridLayout | ||
|
getMaxWidth(children:Array):Number
| RowGridLayout | ||
|
layout(children:Array):void
| RowGridLayout | ||
| _columnGap | property |
protected var _columnGap:Number
| container | property |
container:UIContainer [write-only]Implementation
public function set container(value:UIContainer):void
| initX | property |
initX:Number [write-only]Implementation
public function set initX(value:Number):void
| initY | property |
initY:Number [write-only]Implementation
public function set initY(value:Number):void
| _numColumns | property |
protected var _numColumns:uint
| prepare | property |
prepare:Function [write-only]Implementation
public function set prepare(value:Function):void
| _rowGap | property |
protected var _rowGap:Number
| _rowHeight | property |
protected var _rowHeight:Number = NaN
| RowGridLayout | () | constructor |
public function RowGridLayout(numColumns:uint, rowHeight:Number, rowGap:Number = 0, columnGap:Number = 0)Parameters
numColumns:uint |
|
rowHeight:Number |
|
rowGap:Number (default = 0) |
|
columnGap:Number (default = 0) |
| calculateSizes | () | method |
public function calculateSizes(children:Array, container:UIContainer):voidParameters
children:Array |
|
container:UIContainer |
| getMaxHeight | () | method |
public function getMaxHeight(children:Array):NumberParameters
children:Array |
Number |
| getMaxWidth | () | method |
public function getMaxWidth(children:Array):NumberParameters
children:Array |
Number |
| layout | () | method |
public function layout(children:Array):voidParameters
children:Array |