| Package | com.addicted2flash.layout.util |
| Class | public class SizeRequirement |
| Method | Defined by | ||
|---|---|---|---|
|
[static]
Arranges a container's component.
| SizeRequirement | ||
|
getTileHeight(container:IUIContainer, h:Number, i:int, n:int):Number
[static]
Returns the calculated height of a component thats desired height is set to a percentaged value.
| SizeRequirement | ||
|
getTileWidth(container:IUIContainer, w:Number, i:int, n:int):Number
[static]
Returns the calculated width of a component thats desired width is set to a percentaged value.
| SizeRequirement | ||
|
measureHorizontalSizes(container:IUIContainer):void
[static]
Measures the
measuredMinimumSize and the measuredDesiredSize
of a container in a horizontal oriented layout. | SizeRequirement | ||
|
measureVerticalSizes(container:IUIContainer):void
[static]
Measures the
measuredMinimumSize and the measuredDesiredSize
of a container in a vertical oriented layout. | SizeRequirement | ||
| arrangeComponent | () | method |
public static function arrangeComponent(container:IUIContainer, component:IUIComponent):voidArranges a container's component.
Parameterscontainer:IUIContainer — container
|
|
component:IUIComponent — component to be arranged
|
| getTileHeight | () | method |
public static function getTileHeight(container:IUIContainer, h:Number, i:int, n:int):NumberReturns the calculated height of a component thats desired height is set to a percentaged value.
Parameterscontainer:IUIContainer — container
|
|
h:Number — total height for the components
|
|
i:int — index of the first component (including)
|
|
n:int — index of the last component (exluding)
|
Number — the calculated height of a component thats desired height is set to a percentaged value
|
| getTileWidth | () | method |
public static function getTileWidth(container:IUIContainer, w:Number, i:int, n:int):NumberReturns the calculated width of a component thats desired width is set to a percentaged value.
Parameterscontainer:IUIContainer — container
|
|
w:Number — total width for the components
|
|
i:int — index of the first component (including)
|
|
n:int — index of the last component (exluding)
|
Number — the calculated width of a component thats desired width is set to a percentaged value
|
| measureHorizontalSizes | () | method |
public static function measureHorizontalSizes(container:IUIContainer):void
Measures the measuredMinimumSize and the measuredDesiredSize
of a container in a horizontal oriented layout.
container:IUIContainer — container to measure
|
| measureVerticalSizes | () | method |
public static function measureVerticalSizes(container:IUIContainer):void
Measures the measuredMinimumSize and the measuredDesiredSize
of a container in a vertical oriented layout.
container:IUIContainer — container to measure
|